{** * templates/proofreader/submission/layout.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. * * Subtemplate defining the layout editing table. * *} {assign var=layoutSignoff value=$submission->getSignoff('SIGNOFF_LAYOUT')} {assign var=layoutEditor value=$submission->getUserBySignoffType('SIGNOFF_LAYOUT')}

{translate key="submission.layout"}

{if $useLayoutEditors}
{translate key="user.role.layoutEditor"} {if $layoutSignoff->getUserId()}{$layoutEditor->getFullName()|escape}{else}{translate key="common.none"}{/if}
{/if} {foreach name=galleys from=$submission->getGalleys() item=galley} {foreachelse} {/foreach} {foreach name=suppFiles from=$submission->getSuppFiles() item=suppFile} {foreachelse} {/foreach}
{translate key="submission.layout.galleyFormat"} {translate key="common.file"}
{$smarty.foreach.galleys.iteration}. {$galley->getGalleyLabel()|escape}   getId()|to_array:$galley->getId()}" class="action">{translate key="submission.layout.viewProof"} getId()|to_array:$galley->getFileId()}" class="file">{$galley->getFileName()|escape} {$galley->getDateModified()|date_format:$dateFormatShort}
{translate key="common.none"}
 
{translate key="submission.supplementaryFiles"} {translate key="common.file"}
{$smarty.foreach.suppFiles.iteration}. {$suppFile->getSuppFileTitle()|escape} getId()|to_array:$suppFile->getFileId()}" class="file">{$suppFile->getFileName()|escape} {$suppFile->getDateModified()|date_format:$dateFormatShort}
{translate key="common.none"}
 
{translate key="submission.layout.layoutComments"} {if $submission->getMostRecentLayoutComment()} {assign var="comment" value=$submission->getMostRecentLayoutComment()} getId() anchor=$comment->getId()}');" class="icon">{icon name="comment"}{$comment->getDatePosted()|date_format:$dateFormatShort} {else} getId()}');" class="icon">{icon name="comment"}{translate key="common.noComments"} {/if}