{** * templates/manager/reviewForms/reviewForms.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. * * Display list of unpublished review forms in journal management. * *} {strip} {assign var="pageTitle" value="manager.reviewForms"} {include file="common/header.tpl"} {/strip}

{translate key="manager.reviewForms.list.description"}

{iterate from=reviewForms item=reviewForm name=reviewForms} {assign var=reviewFormId value=$reviewForm->getId()} {if $completeCounts[$reviewFormId] == 0 && $incompleteCounts[$reviewFormId] == 0} {assign var=canEdit value=1} {else} {assign var=canEdit value=0} {/if} {/iterate} {if $reviewForms->wasEmpty()} {else} {/if}
 
{translate key="manager.reviewForms.title"} {translate key="manager.reviewForms.inReview"} {translate key="manager.reviewForms.completed"} {translate key="common.action"}
 
{$reviewForm->getLocalizedTitle()|escape} {$incompleteCounts[$reviewFormId]} {$completeCounts[$reviewFormId]} {if $canEdit}getId()}" class="action">{translate key="common.edit"} |{/if} {strip} {if $reviewForm->getActive()} getId()}" class="action">{translate key="common.deactivate"} {else} getId()}" class="action">{translate key="common.activate"} {/if}  | {/strip} {if !$canEdit}getId()}" class="action">{translate key="common.copy"} |{/if} getId()}" class="action">{translate key="common.preview"} | {if $canEdit}getId()}" onclick="return confirm('{translate|escape:"jsparam" key="manager.reviewForms.confirmDeleteUnpublished"}')" class="action">{translate key="common.delete"} |{/if} getId()}" class="action">↑ getId()}" class="action">↓
 
{translate key="manager.reviewForms.noneCreated"}
 
{page_info iterator=$reviewForms} {page_links anchor="reviewForms" name="reviewForms" iterator=$reviewForms}
{translate key="manager.reviewForms.create"}
{include file="common/footer.tpl"}