{** * templates/layoutEditor/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 editor's layout editing table. * *} {assign var=layoutEditor value=$submission->getUserBySignoffType('SIGNOFF_LAYOUT')} {assign var=layoutSignoff value=$submission->getSignoff('SIGNOFF_LAYOUT')} {assign var=layoutFile value=$submission->getFileBySignoffType('SIGNOFF_LAYOUT')}
{translate key="user.role.layoutEditor"} | {$layoutEditor->getFullName()|escape} |
{translate key="submission.layout.layoutVersion"} | {translate key="submission.request"} | {translate key="submission.underway"} | {translate key="submission.complete"} | ||
{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:"—"} | {if !$layoutSignoff->getDateNotified() or $layoutSignoff->getDateCompleted()} {icon name="mail" disabled="disabled"} {else} {url|assign:"url" op="completeAssignment" articleId=$submission->getId()} {translate|assign:"confirmMessage" key="common.confirmComplete"} {icon name="mail" onclick="return confirm('$confirmMessage')" url=$url} {/if} {$layoutSignoff->getDateCompleted()|date_format:$dateFormatShort|default:""} | ||
{translate key="submission.layout.galleyFormat"} | {translate key="common.file"} | {translate key="common.order"} | {translate key="common.action"} | ||
{$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} | {if $disableEdit} — {else} getId() galleyId=$galley->getId()}" class="plain">↑ getId() galleyId=$galley->getId()}" class="plain">↓ {/if} | {if $disableEdit} — {else} getId()|to_array:$galley->getId()}" class="action">{translate key="common.edit"} | getId()|to_array:$galley->getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.layout.confirmDeleteGalley"}')" class="action">{translate key="common.delete"} {/if} | |
{translate key="common.none"} | |||||
{translate key="submission.supplementaryFiles"} | {translate key="common.file"} | {translate key="common.order"} | {translate key="common.action"} | ||
{$smarty.foreach.suppFiles.iteration}. | {$suppFile->getSuppFileTitle()|escape} | getId()|to_array:$suppFile->getFileId()}" class="file">{$suppFile->getFileName()|escape} {$suppFile->getDateModified()|date_format:$dateFormatShort} | {if $disableEdit} — {else} getId() suppFileId=$suppFile->getId()}" class="plain">↑ getId() suppFileId=$suppFile->getId()}" class="plain">↓ {/if} | {if $disableEdit} — {else} getId()|to_array:$suppFile->getId()}" class="action">{translate key="common.edit"} getId()|to_array:$suppFile->getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.layout.confirmDeleteSupplementaryFile"}')" class="action">{translate key="common.delete"} {/if} | |
{translate key="common.none"} | |||||