{** * templates/author/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=layoutFile value=$submission->getFileBySignoffType('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} {if $useLayoutEditors} {/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.layoutVersion"} {translate key="submission.request"} {translate key="submission.underway"} {translate key="submission.complete"} {translate key="submission.views"}
{if $layoutFile} getId()|to_array:$layoutFile->getFileId()}" class="file">{$layoutFile->getFileName()|escape}  {$layoutFile->getDateModified()|date_format:$dateFormatShort} {else} {translate key="common.none"} {/if} {$layoutSignoff->getDateNotified()|date_format:$dateFormatShort|default:"—"} {$layoutSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {$layoutSignoff->getDateCompleted()|date_format:$dateFormatShort|default:"—"}
 
{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} {$galley->getViews()}
{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}