4 * Copyright (c) 2003-2008 John Willinsky
5 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
7 * Subtemplate defining the submission status table.
9 * $Id: status.tpl,v 1.3 2009/06/09 23:37:16 tylerl Exp $
12 <h3>{translate key="common.status"}</h3>
14 <table width="100%" class="data">
16 {assign var="status" value=$submission->getSubmissionStatus()}
17 <td width="20%" class="label">{translate key="common.status"}</td>
18 <td width="30%" class="value">
19 {if $status == STATUS_ARCHIVED}{translate key="submissions.archived"}
20 {elseif $status==STATUS_QUEUED_UNASSIGNED}{translate key="submissions.queuedUnassigned"}
21 {elseif $status==STATUS_QUEUED_EDITING}{translate key="submissions.queuedEditing"}
22 {elseif $status==STATUS_QUEUED_REVIEW}{translate key="submissions.queuedReview"}
23 {elseif $status==STATUS_PUBLISHED}{translate key="submissions.published"}
24 {elseif $status==STATUS_DECLINED}{translate key="submissions.declined"}
27 <td width="50%" class="value">
28 {if $status != STATUS_ARCHIVED}
29 <a href="{url op="unsuitableSubmission" monographId=$submission->getMonographId()}" class="action">{translate key="editor.monograph.archiveSubmission"}</a>
31 <a href="{url op="restoreToQueue" path=$submission->getMonographId()}" class="action">{translate key="editor.monograph.restoreToQueue"}</a>
36 <td class="label">{translate key="submission.initiated"}</td>
37 <td colspan="2" class="value">{$submission->getDateStatusModified()|date_format:$dateFormatShort}</td>
40 <td class="label">{translate key="submission.lastModified"}</td>
41 <td colspan="2" class="value">{$submission->getLastModified()|date_format:$dateFormatShort}</td>
45 <td class="label">{translate key="comments.readerComments"}</td>
46 <td class="value">{translate key=$submission->getCommentsStatusString()}</td>
47 <td class="value"><form action="{url op="updateCommentsStatus" path=$submission->getMonographId()}" method="post">{translate key="submission.changeComments"} <select name="commentsStatus" size="1" class="selectMenu">{html_options_translate options=$commentsStatusOptions selected=$submission->getCommentsStatus()}</select> <input type="submit" value="{translate key="common.record"}" class="button" /></form></td>