{** * templates/copyeditor/completed.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 copyeditor's submission archive. * *} {if !$dateFrom} {assign var="dateFrom" value="--"} {/if} {if !$dateTo} {assign var="dateTo" value="--"} {/if}
{iterate from=submissions item=submission} {assign var="articleId" value=$submission->getId()} {assign var="initialCopyeditSignoff" value=$submission->getSignoff('SIGNOFF_COPYEDITING_INITIAL')} {assign var="finalCopyeditSignoff" value=$submission->getSignoff('SIGNOFF_COPYEDITING_FINAL')} {/iterate} {if $submissions->wasEmpty()} {else} {/if}
 
{sort_search key="common.id" sort="id"} {translate key="submission.date.mmdd"}
{sort_search key="common.assign" sort="assignDate"}
{sort_search key="submissions.sec" sort="section"} {sort_search key="article.authors" sort="authors"} {sort_search key="article.title" sort="title"} {sort_search key="submission.complete" sort="dateCompleted"} {sort_search key="common.status" sort="status"}
 
{$articleId|escape} {$initialCopyeditSignoff->getDateNotified()|date_format:$dateFormatTrunc} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape} {$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."} {$finalCopyeditSignoff->getDateCompleted()|date_format:$dateFormatTrunc} {assign var="status" value=$submission->getStatus()} {if $status == STATUS_ARCHIVED} {translate key="submissions.archived"} {elseif $status == STATUS_QUEUED} {translate key="submissions.queued"} {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 searchInitial=$searchInitial searchField=$searchField searchMatch=$searchMatch search=$search dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth dateSearchField=$dateSearchField sort=$sort sortDirection=$sortDirection}