{** * templates/editor/index.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Editor index. * *} {strip} {assign var="pageTitle" value="editor.home"} {assign var="pageCrumbTitle" value="user.role.editor"} {include file="common/header.tpl"} {/strip}

{translate key="article.submissions"}

 
 
{if !$dateFrom} {assign var="dateFrom" value="--"} {/if} {if !$dateTo} {assign var="dateTo" value="--"} {/if}
{if $section}{/if}
{translate key="common.between"} {html_select_date prefix="dateFrom" time=$dateFrom all_extra="class=\"selectMenu\"" year_empty="" month_empty="" day_empty="" start_year="-5" end_year="+1"} {translate key="common.and"} {html_select_date prefix="dateTo" time=$dateTo all_extra="class=\"selectMenu\"" year_empty="" month_empty="" day_empty="" start_year="-5" end_year="+1"}
  {if $displayResults}
{iterate from=submissions item=submission} {assign var="highlightClass" value=$submission->getHighlightClass()} {assign var="fastTracked" value=$submission->getFastTracked()} {/iterate} {if $submissions->wasEmpty()} {else} {/if}
 
{sort_search key="common.id" sort="id"} {translate key="submission.date.mmdd"}
{sort_search key="submissions.submit" sort="submitDate"}
{sort_search key="submissions.sec" sort="section"} {sort_search key="article.authors" sort="authors"} {sort_search key="article.title" sort="title"} {sort_search key="common.status" sort="status"}
 
{$submission->getId()} {$submission->getDateSubmitted()|date_format:$dateFormatTrunc} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape} getId()}" class="action">{$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."} {assign var="status" value=$submission->getSubmissionStatus()} {if $status == STATUS_ARCHIVED} {translate key="submissions.archived"} {elseif $status == STATUS_PUBLISHED} {print_issue_id articleId=$submission->getId()} {elseif $status == STATUS_DECLINED} {translate key="submissions.declined"}  {translate key="common.delete"} {elseif $status==STATUS_QUEUED_UNASSIGNED}{translate key="submissions.queuedUnassigned"} {elseif $status==STATUS_QUEUED_EDITING}{translate key="submissions.queuedEditing"} {elseif $status==STATUS_QUEUED_REVIEW}{translate key="submissions.queuedReview"} {else}{* SUBMISSION_QUEUED -- between cracks? *} {translate key="submissions.queued"} {/if}
 
{translate key="submissions.noSubmissions"}
 
{page_info iterator=$submissions} {page_links anchor="submissions" name="submissions" iterator=$submissions searchField=$searchField searchMatch=$searchMatch search=$search dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth dateSearchField=$dateSearchField section=$section sort=$sort sortDirection=$sortDirection}
{else}
 
{/if}{* displayResults *}

{translate key="editor.navigation.issues"}

{call_hook name="Templates::Editor::Index::AdditionalItems"} {include file="common/footer.tpl"}