{** * templates/sectionEditor/submission/copyedit.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 copyediting table. * *}

{translate key="submission.copyediting"}

{if $currentJournal->getLocalizedSetting('copyeditInstructions')}

{translate key="submission.copyedit.instructions"}

{/if} {if $useCopyeditors} {if $submission->getUserIdBySignoffType('SIGNOFF_COPYEDITING_INITIAL')}{/if}
{translate key="user.role.copyeditor"}{$copyeditor->getFullName()|escape}getId()}" class="action">{translate key="editor.article.selectCopyeditor"}
{/if} {assign var="initialCopyeditSignoff" value=$submission->getSignoff('SIGNOFF_COPYEDITING_INITIAL')} {assign var="authorCopyeditSignoff" value=$submission->getSignoff('SIGNOFF_COPYEDITING_AUTHOR')} {assign var="finalCopyeditSignoff" value=$submission->getSignoff('SIGNOFF_COPYEDITING_FINAL')}
getId()}" class="action">{translate key="submission.reviewMetadata"} {translate key="submission.request"} {translate key="submission.underway"} {translate key="submission.complete"} {translate key="submission.acknowledge"}
1.{translate key="submission.copyedit.initialCopyedit"} {if $useCopyeditors} {if $submission->getUserIdBySignoffType('SIGNOFF_COPYEDITING_INITIAL') && $initialCopyeditFile} {url|assign:"url" op="notifyCopyeditor" articleId=$submission->getId()} {if $initialCopyeditSignoff->getDateUnderway()} {translate|escape:"javascript"|assign:"confirmText" key="sectionEditor.copyedit.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 !$initialCopyeditSignoff->getDateNotified() && $initialCopyeditFile} getId()}" class="action">{translate key="common.initiate"} {/if} {/if} {$initialCopyeditSignoff->getDateNotified()|date_format:$dateFormatShort|default:""} {if $useCopyeditors} {$initialCopyeditSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {else} {translate key="common.notApplicableShort"} {/if} {if $initialCopyeditSignoff->getDateCompleted()} {$initialCopyeditSignoff->getDateCompleted()|date_format:$dateFormatShort} {elseif !$useCopyeditors} getId()}" class="action">{translate key="common.complete"} {else} — {/if} {if $useCopyeditors} {if $submission->getUserIdBySignoffType('SIGNOFF_COPYEDITING_INITIAL') && $initialCopyeditSignoff->getDateNotified() && !$initialCopyeditSignoff->getDateAcknowledged()} {url|assign:"url" op="thankCopyeditor" articleId=$submission->getId()} {icon name="mail" url=$url} {else} {icon name="mail" disabled="disable"} {/if} {$initialCopyeditSignoff->getDateAcknowledged()|date_format:$dateFormatShort|default:""} {else} {translate key="common.notApplicableShort"} {/if}
  {translate key="common.file"}: {if $initialCopyeditFile} getId()|to_array:$initialCopyeditFile->getFileId():$initialCopyeditFile->getRevision()}" class="file">{$initialCopyeditFile->getFileName()|escape}  {$initialCopyeditFile->getDateModified()|date_format:$dateFormatShort} {else} {translate key="submission.copyedit.mustUploadFileForInitialCopyedit"} {/if}
 
2.{translate key="submission.copyedit.editorAuthorReview"} {if ($submission->getUserIdBySignoffType('SIGNOFF_COPYEDITING_INITIAL') || !$useCopyeditors) && $initialCopyeditSignoff->getDateCompleted()} {url|assign:"url" op="notifyAuthorCopyedit articleId=$submission->getId()} {if $authorCopyeditSignoff->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} {else} {icon name="mail" disabled="disable"} {/if} {$authorCopyeditSignoff->getDateNotified()|date_format:$dateFormatShort|default:""} {$authorCopyeditSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {$authorCopyeditSignoff->getDateCompleted()|date_format:$dateFormatShort|default:"—"} {if ($submission->getUserIdBySignoffType('SIGNOFF_COPYEDITING_INITIAL') || !$useCopyeditors) && $authorCopyeditSignoff->getDateNotified() && !$authorCopyeditSignoff->getDateAcknowledged()} {url|assign:"url" op="thankAuthorCopyedit articleId=$submission->getId()} {icon name="mail" url=$url} {else} {icon name="mail" disabled="disable"} {/if} {$authorCopyeditSignoff->getDateAcknowledged()|date_format:$dateFormatShort|default:""}
  {translate key="common.file"}: {if $editorAuthorCopyeditFile} getId()|to_array:$editorAuthorCopyeditFile->getFileId():$editorAuthorCopyeditFile->getRevision()}" class="file">{$editorAuthorCopyeditFile->getFileName()|escape}  {$editorAuthorCopyeditFile->getDateModified()|date_format:$dateFormatShort} {/if}
 
3.{translate key="submission.copyedit.finalCopyedit"} {if $useCopyeditors} {if $submission->getUserIdBySignoffType('SIGNOFF_COPYEDITING_INITIAL') && $authorCopyeditSignoff->getDateCompleted()} {url|assign:"url" op="notifyFinalCopyedit articleId=$submission->getId()} {if $finalCopyeditSignoff->getDateUnderway()} {translate|escape:"javascript"|assign:"confirmText" key="sectionEditor.copyedit.confirmRenotify"} {icon name="mail" onclick="return confirm('$confirmText')" url=$url} {else} {icon name="mail" url=$url} {/if} {else} {icon name="mail" disabled="disable"} {/if} {/if} {$finalCopyeditSignoff->getDateNotified()|date_format:$dateFormatShort|default:""} {if $useCopyeditors} {$finalCopyeditSignoff->getDateUnderway()|date_format:$dateFormatShort|default:"—"} {else} {translate key="common.notApplicableShort"} {/if} {if $finalCopyeditSignoff->getDateCompleted()} {$finalCopyeditSignoff->getDateCompleted()|date_format:$dateFormatShort} {elseif !$useCopyeditors} getId()}" class="action">{translate key="common.complete"} {else} — {/if} {if $useCopyeditors} {if $submission->getUserIdBySignoffType('SIGNOFF_COPYEDITING_INITIAL') && $finalCopyeditSignoff->getDateNotified() && !$finalCopyeditSignoff->getDateAcknowledged()} {url|assign:"url" op="thankFinalCopyedit articleId=$submission->getId()} {icon name="mail" url=$url} {else} {icon name="mail" disabled="disable"} {/if} {$finalCopyeditSignoff->getDateAcknowledged()|date_format:$dateFormatShort|default:""} {else} {translate key="common.notApplicableShort"} {/if}
  {translate key="common.file"}: {if $finalCopyeditFile} getId()|to_array:$finalCopyeditFile->getFileId():$finalCopyeditFile->getRevision()}" class="file">{$finalCopyeditFile->getFileName()|escape}  {$finalCopyeditFile->getDateModified()|date_format:$dateFormatShort} {/if}
 
{if $authorCopyeditSignoff->getDateCompleted()} {assign var="canUploadCopyedit" value="3"} {elseif $initialCopyeditSignoff->getDateCompleted() && !$authorCopyeditSignoff->getDateCompleted()} {assign var="canUploadCopyedit" value="2"} {elseif !$initialCopyeditSignoff->getDateCompleted()} {assign var="canUploadCopyedit" value="1"} {/if}
{translate key="submission.uploadFileTo"} , , {translate key="common.or"}
{translate key="submission.copyedit.copyeditComments"} {if $submission->getMostRecentCopyeditComment()} {assign var="comment" value=$submission->getMostRecentCopyeditComment()} 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}