{** * templates/layoutEditor/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 layout editor's active submissions. * *}
{iterate from=submissions item=submission} {assign var="articleId" value=$submission->getId()} {assign var="layoutSignoff" value=$submission->getSignoff('SIGNOFF_LAYOUT')} {if $layoutSignoff->getDateCompleted()} {assign var="proofreaderProofreadSignoff" value=$submission->getSignoff('SIGNOFF_PROOFREADING_PROOFREADER')} {url|assign:"url" op="completeProofreader" articleId=$submission->getId()} {/if} {/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} {$layoutSignoff->getDateNotified()|date_format:$dateFormatTrunc} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape} {$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."} {if not $layoutSignoff->getDateCompleted()} {translate key="submissions.initial"} {else} {translate key="submissions.proofread"} {/if} {translate|assign:"confirmMessage" key="common.confirmComplete"} {if $proofreaderProofreadSignoff->getDateCompleted()}{assign var="disabled" value="disabled"}{/if} {icon name="mail" onclick="return confirm('$confirmMessage')" url=$url disabled=$disabled}
 
{translate key="submissions.noSubmissions"}
 
{page_info iterator=$submissions} {page_links anchor="submissions" name="submissions" iterator=$submissions sort=$sort sortDirection=$sortDirection}