{** * templates/workflow/editorialLinkActions.tpl * * Copyright (c) 2014-2021 Simon Fraser University * Copyright (c) 2003-2021 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * Show editorial link actions. *} {if count($decisions) || count($recommendations)} {if array_intersect(array(\PKP\security\Role::ROLE_ID_MANAGER, \PKP\security\Role::ROLE_ID_SUB_EDITOR), (array)$userRoles)}
{* Editors who can take a final decision *} {if $makeDecision && count($decisions)} {if $lastDecision}
{translate key=$lastDecision} {if $canRecordDecision} {/if}
{/if} {if $canRecordDecision} {/if} {if $allRecommendations}
{translate key="editor.submission.allRecommendations.display" recommendations=$allRecommendations}
{/if} {* Editors who can recommend a final decision *} {elseif $makeRecommendation && count($recommendations)} {if $lastRecommendation}
{translate key="editor.submission.recommendation.display" recommendation=$lastRecommendation} {if $canRecordDecision} {/if}
{/if} {if $canRecordDecision} {else}
{translate key="editor.submission.recommendation.noDecidingEditors"}
{/if} {/if}
{/if} {elseif !$editorsAssigned && array_intersect(array(\PKP\security\Role::ROLE_ID_MANAGER, \PKP\security\Role::ROLE_ID_SUB_EDITOR), (array)$userRoles)}
{translate key="editor.submission.decision.noDecisionsAvailable"}
{elseif $lastDecision}
{translate key=$lastDecision}
{/if}