{** * templates/sectionEditor/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="user.role.layoutEditor"} | {if $layoutSignoff->getUserId()}{$layoutEditor->getFullName()|escape} | {/if}getId()}" class="action">{translate key="submission.layout.assignLayoutEditor"} |
{translate key="submission.request"} | {translate key="submission.underway"} | {translate key="submission.complete"} | {translate key="submission.acknowledge"} | |||
{translate key="submission.layout.layoutVersion"} | {if $useLayoutEditors} {if $layoutSignoff->getUserId() && $layoutFile} {url|assign:"url" op="notifyLayoutEditor" articleId=$submission->getId()} {if $layoutSignoff->getDateUnderway()} {translate|escape:"javascript"|assign:"confirmText" key="sectionEditor.layout.confirmRenotify"} {icon name="mail" onclick="return confirm('$confirmText')" url=$url} {else} {icon name="mail" url=$url} {/if} {else} {icon name="mail" disabled="disable"} {/if} {$layoutSignoff->getDateNotified()|date_format:$dateFormatShort|default:""} {else} {translate key="common.notApplicableShort"} {/if} | {if $useLayoutEditors} {$layoutSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {else} {translate key="common.notApplicableShort"} {/if} | {if $useLayoutEditors} {$layoutSignoff->getDateCompleted()|date_format:$dateFormatShort|default:"—"} {else} {translate key="common.notApplicableShort"} {/if} | {if $useLayoutEditors} {if $layoutSignoff->getUserId() && $layoutSignoff->getDateCompleted() && !$layoutSignoff->getDateAcknowledged()} {url|assign:"url" op="thankLayoutEditor" articleId=$submission->getId()} {icon name="mail" url=$url} {else} {icon name="mail" disabled="disable"} {/if} {$layoutSignoff->getDateAcknowledged()|date_format:$dateFormatShort|default:""} {else} {translate key="common.notApplicableShort"} {/if} | ||
{translate key="common.file"}: {if $layoutFile} getId()|to_array:$layoutFile->getFileId()}" class="file">{$layoutFile->getFileName()|escape} {$layoutFile->getDateModified()|date_format:$dateFormatShort} {else} {translate key="submission.layout.noLayoutFile"} {/if} | ||||||
{translate key="submission.layout.galleyFormat"} | {translate key="common.file"} | {translate key="common.order"} | {translate key="common.action"} | {translate key="submission.views"} | ||
{$smarty.foreach.galleys.iteration}. | {$galley->getGalleyLabel()|escape}{if !$galley->getRemoteURL()} getId()|to_array:$galley->getId()}" class="action">{translate key="submission.layout.viewProof"}{/if} | {if $galley->getFileId() > 0}getId()|to_array:$galley->getFileId()}" class="file">{$galley->getFileName()|escape} {$galley->getDateModified()|date_format:$dateFormatShort}{elseif $galley->getRemoteURL() != ''}{$galley->getRemoteURL()|truncate:20:"..."|escape}{/if} | getId() galleyId=$galley->getId()}" class="plain">↑ getId() galleyId=$galley->getId()}" class="plain">↓ | 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"} | {$galley->getViews()|escape} | |
{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} | {if $suppFile->getFileId() > 0}getId()|to_array:$suppFile->getFileId()}" class="file">{$suppFile->getFileName()|escape} {$suppFile->getDateModified()|date_format:$dateFormatShort}{elseif $suppFile->getRemoteURL() != ''}{$suppFile->getRemoteURL()|truncate:20:"..."|escape}{/if} | getId() suppFileId=$suppFile->getId()}" class="plain">↑ getId() suppFileId=$suppFile->getId()}" class="plain">↓ | 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"} | ||
{translate key="common.none"} | ||||||