{** * templates/proofreader/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 proofreader's active submissions. * *}
{iterate from=submissions item=submission} {assign var="articleId" value=$submission->getId()} {assign var="proofreaderSignoff" value=$submission->getSignoff('SIGNOFF_PROOFREADING_PROOFREADER')} {assign var="authorSignoff" value=$submission->getSignoff('SIGNOFF_PROOFREADING_AUTHOR')} {/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} {$proofreaderSignoff->getDateNotified()|date_format:$dateFormatTrunc} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape} {$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."} {if not $authorSignoff->getDateCompleted()} {translate key="submissions.initialProof"} {else} {translate key="submissions.postAuthor"} {/if}
 
{translate key="submissions.noSubmissions"}
 
{page_info iterator=$submissions} {page_links anchor="submissions" name="submissions" iterator=$submissions sort=$sort sortDirection=$sortDirection}