{** * templates/copyeditor/active.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 active submissions. * *}
{iterate from=submissions item=submission} {assign var="copyeditingInitialSignoff" value=$submission->getSignoff('SIGNOFF_COPYEDITING_INITIAL')} {assign var="finalCopyeditSignoff" value=$submission->getSignoff('SIGNOFF_COPYEDITING_FINAL')} {assign var="articleId" value=$submission->getId()} {/iterate} {if $submissions->wasEmpty()} {else} {/if}
 
{sort_heading key="common.id" sort="id"} {translate key="submission.date.mmdd"}
{sort_heading key="common.assigned" sort="assignDate"}
{sort_heading key="submissions.sec" sort="section"} {sort_heading key="article.authors" sort="authors"} {sort_heading key="article.title" sort="title"} {sort_heading key="common.status" sort="status"}
 
{$articleId|escape} {$copyeditingInitialSignoff->getDateNotified()|date_format:$dateFormatTrunc} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape} {$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."} {if not $copyeditingInitialSignoff->getDateCompleted()} {translate key="submission.copyedit.initialCopyedit"} {else} {if $copyeditingInitialSignoff->getDateCompleted() && not $finalCopyeditSignoff->getDateUnderway()} {translate key="submission.copyedit.initialCopyedit"} {translate key="common.completed"} {else} {if $finalCopyeditSignoff->getDateUnderway() and not $finalCopyeditSignoff->getDateCompleted()} {translate key="submission.copyedit.finalCopyedit"} {else} {translate key="submission.copyedit.finalCopyedit"} {translate key="common.completed"} {/if} {/if} {/if}
 
{translate key="submissions.noSubmissions"}
 
{page_info iterator=$submissions} {page_links anchor="submissions" name="submissions" iterator=$submissions sort=$sort sortDirection=$sortDirection}