{** * templates/sectionEditor/submission/proofread.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 proofreading table. * *} {assign var=proofSignoff value=$submission->getSignoff('SIGNOFF_PROOFREADING_PROOFREADER')} {assign var=proofreader value=$submission->getUserBySignoffType('SIGNOFF_PROOFREADING_PROOFREADER')}

{translate key="submission.proofreading"}

{if $useProofreaders} {if $proofSignoff->getUserId()}{/if}
{translate key="user.role.proofreader"}{$proofreader->getFullName()|escape}getId()}" class="action">{translate key="editor.article.selectProofreader"}
{/if} {assign var="authorProofreadSignoff" value=$submission->getSignoff('SIGNOFF_PROOFREADING_AUTHOR')} {assign var="proofreaderProofreadSignoff" value=$submission->getSignoff('SIGNOFF_PROOFREADING_PROOFREADER')} {assign var="layoutEditorProofreadSignoff" value=$submission->getSignoff('SIGNOFF_PROOFREADING_LAYOUT')} {assign var="layoutSignoff" value=$submission->getSignoff('SIGNOFF_LAYOUT')}
  {translate key="submission.request"} {translate key="submission.underway"} {translate key="submission.complete"} {translate key="submission.acknowledge"}
1. {translate key="user.role.author"} {url|assign:"url" op="notifyAuthorProofreader" articleId=$submission->getId()} {if $authorProofreadSignoff->getDateUnderway()} {translate|escape:"javascript"|assign:"confirmText" key="sectionEditor.author.confirmRenotify"} {icon name="mail" onclick="return confirm('$confirmText')" url=$url} {else} {icon name="mail" url=$url} {/if} {$authorProofreadSignoff->getDateNotified()|date_format:$dateFormatShort|default:""} {$authorProofreadSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {$authorProofreadSignoff->getDateCompleted()|date_format:$dateFormatShort|default:"—"} {if $authorProofreadSignoff->getDateCompleted() && !$authorProofreadSignoff->getDateAcknowledged()} {url|assign:"url" op="thankAuthorProofreader" articleId=$submission->getId()} {icon name="mail" url=$url} {else} {icon name="mail" disabled="disable"} {/if} {$authorProofreadSignoff->getDateAcknowledged()|date_format:$dateFormatShort|default:""}
2. {translate key="user.role.proofreader"} {if $useProofreaders} {if $proofSignoff->getUserId() && $authorProofreadSignoff->getDateCompleted()} {url|assign:"url" op="notifyProofreader" articleId=$submission->getId()} {if $proofreaderProofreadSignoff->getDateUnderway()} {translate|escape:"javascript"|assign:"confirmText" key="sectionEditor.proofreader.confirmRenotify"} {icon name="mail" onclick="return confirm('$confirmText')" url=$url} {else} {icon name="mail" url=$url} {/if} {else} {icon name="mail" disabled="disable"} {/if} {else} {if !$proofreaderProofreadSignoff->getDateNotified()} getId()}" class="action">{translate key="common.initiate"} {/if} {/if} {$proofreaderProofreadSignoff->getDateNotified()|date_format:$dateFormatShort|default:""} {if $useProofreaders} {$proofreaderProofreadSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {else} {translate key="common.notApplicableShort"} {/if} {if !$useProofreaders && !$proofreaderProofreadSignoff->getDateCompleted() && $proofreaderProofreadSignoff->getDateNotified()} getId()}" class="action">{translate key="common.complete"} {else} {$proofreaderProofreadSignoff->getDateCompleted()|date_format:$dateFormatShort|default:"—"} {/if} {if $useProofreaders} {if $proofreaderProofreadSignoff->getDateCompleted() && !$proofreaderProofreadSignoff->getDateAcknowledged()} {url|assign:"url" op="thankProofreader" articleId=$submission->getId()} {icon name="mail" url=$url} {else} {icon name="mail" disabled="disable"} {/if} {$proofreaderProofreadSignoff->getDateAcknowledged()|date_format:$dateFormatShort|default:""} {else} {translate key="common.notApplicableShort"} {/if}
3. {translate key="user.role.layoutEditor"} {if $useLayoutEditors} {if $layoutSignoff->getUserId() && $proofreaderProofreadSignoff->getDateCompleted()} {url|assign:"url" op="notifyLayoutEditorProofreader" articleId=$submission->getId()} {if $layoutEditorProofreadSignoff->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} {else} {if !$layoutEditorProofreadSignoff->getDateNotified()} getId()}" class="action">{translate key="common.initiate"} {/if} {/if} {$layoutEditorProofreadSignoff->getDateNotified()|date_format:$dateFormatShort|default:""} {if $useLayoutEditors} {$layoutEditorProofreadSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {else} {translate key="common.notApplicableShort"} {/if} {if $useLayoutEditors} {$layoutEditorProofreadSignoff->getDateCompleted()|date_format:$dateFormatShort|default:"—"} {elseif $layoutEditorProofreadSignoff->getDateCompleted()} {$layoutEditorProofreadSignoff->getDateCompleted()|date_format:$dateFormatShort} {elseif $layoutEditorProofreadSignoff->getDateNotified()} getId()}" class="action">{translate key="common.complete"} {else} — {/if} {if $useLayoutEditors} {if $layoutEditorProofreadSignoff->getDateCompleted() && !$layoutEditorProofreadSignoff->getDateAcknowledged()} {url|assign:"url" op="thankLayoutEditorProofreader" articleId=$submission->getId()} {icon name="mail" url=$url} {else} {icon name="mail" disabled="disable"} {/if} {$layoutEditorProofreadSignoff->getDateAcknowledged()|date_format:$dateFormatShort|default:""} {else} {translate key="common.notApplicableShort"} {/if}
 
{translate key="submission.proofread.corrections"} {if $submission->getMostRecentProofreadComment()} {assign var="comment" value=$submission->getMostRecentProofreadComment()} 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} {if $currentJournal->getLocalizedSetting('proofInstructions')}    {translate key="submission.proofread.instructions"} {/if}