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

{translate key="user.role.editors"}

{if $isEditor}{/if} {assign var=editAssignments value=$submission->getEditAssignments()} {foreach from=$editAssignments item=editAssignment name=editAssignments} {if $editAssignment->getEditorId() == $userId} {assign var=selfAssigned value=1} {/if} {if $isEditor} {/if} {foreachelse} {/foreach}
    {translate key="submission.review"} {translate key="submission.editing"} {translate key="submission.request"}{translate key="common.action"}
{if $editAssignment->getIsEditor()}{translate key="user.role.editor"}{else}{translate key="user.role.sectionEditor"}{/if} {assign var=emailString value=$editAssignment->getEditorFullName()|concat:" <":$editAssignment->getEditorEmail():">"} {url|assign:"url" page="user" op="email" redirectUrl=$currentUrl to=$emailString|to_array subject=$submission->getLocalizedTitle|strip_tags articleId=$submission->getId()} {$editAssignment->getEditorFullName()|escape} {icon name="mail" url=$url}   getIsEditor()} checked="checked" disabled="disabled" {else} {if $editAssignment->getCanReview()} checked="checked"{/if} {if !$isEditor}disabled="disabled"{/if} {/if} />   getIsEditor()} checked="checked" disabled="disabled" {else} {if $editAssignment->getCanEdit()} checked="checked"{/if} {if !$isEditor}disabled="disabled"{/if} {/if} /> {if $editAssignment->getDateNotified()}{$editAssignment->getDateNotified()|date_format:$dateFormatShort}{else}—{/if}getEditId()}" class="action">{translate key="common.delete"}
{translate key="common.noneAssigned"}
{if $isEditor}    getId()}" class="action">{translate key="editor.article.assignSectionEditor"}getId()}" class="action">{translate key="editor.article.assignEditor"} {if !$selfAssigned}| getId()}" class="action">{translate key="common.addSelf"}{/if} {/if}