{** * layout.tpl * * Copyright (c) 2003-2011 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. * * $Id$ *} {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} getArticleId()|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->getArticleId()} {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} getArticleId()|to_array:$galley->getId()}" class="action">{translate key="submission.layout.viewProof"} | getArticleId()|to_array:$galley->getFileId()}" class="file">{$galley->getFileName()|escape} {$galley->getDateModified()|date_format:$dateFormatShort} | {if $disableEdit} — {else} getArticleId() galleyId=$galley->getId()}" class="plain">↑ getArticleId() galleyId=$galley->getId()}" class="plain">↓ {/if} | {if $disableEdit} — {else} getArticleId()|to_array:$galley->getId()}" class="action">{translate key="common.edit"} | getArticleId()|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} | getArticleId()|to_array:$suppFile->getFileId()}" class="file">{$suppFile->getFileName()|escape} {$suppFile->getDateModified()|date_format:$dateFormatShort} | {if $disableEdit} — {else} getArticleId() suppFileId=$suppFile->getId()}" class="plain">↑ getArticleId() suppFileId=$suppFile->getId()}" class="plain">↓ {/if} | {if $disableEdit} — {else} getArticleId()|to_array:$suppFile->getId()}" class="action">{translate key="common.edit"} getArticleId()|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"} | |||||