{** * templates/sectionEditor/submissionsArchives.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. * * Show section editor's submission archive. * *}
{iterate from=submissions item=submission} {assign var="articleId" value=$submission->getId()} {/iterate} {if $submissions->wasEmpty()} {else} {/if}
 
{sort_search key="common.id" sort="id"}
{sort_search key="submissions.submitted" 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:$dateFormatShort} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape} {$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."} {assign var="status" value=$submission->getStatus()} {if $status == STATUS_ARCHIVED} {translate key="submissions.archived"} {elseif $status == STATUS_PUBLISHED} {print_issue_id articleId="$articleId"} {elseif $status == STATUS_DECLINED} {translate key="submissions.declined"} {/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}