{** * templates/author/active.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. * * Show the details of active submissions. * *}
{iterate from=submissions item=submission} {assign var="articleId" value=$submission->getId()} {assign var="progress" value=$submission->getSubmissionProgress()} {if $progress == 0} {else} {/if} {/iterate} {if $submissions->wasEmpty()} {else} {/if}
 
{sort_heading key="common.id" sort="id" sortOrder="ASC"} {translate key="submission.date.mmdd"}
{sort_heading key="submissions.submit" sort="submitDate"}
{sort_heading key="submissions.sec" sort="section"} {sort_heading key="article.authors" sort="authors"} {sort_heading key="article.title" sort="title"} {sort_heading key="common.status" sort="status"}
 
{$articleId|escape} {if $submission->getDateSubmitted()}{$submission->getDateSubmitted()|date_format:$dateFormatTrunc}{else}—{/if} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape}{if $submission->getLocalizedTitle()}{$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."}{else}{translate key="common.untitled"}{/if} {assign var="status" value=$submission->getSubmissionStatus()} {if $status==STATUS_QUEUED_UNASSIGNED}{translate key="submissions.queuedUnassigned"} {elseif $status==STATUS_QUEUED_REVIEW} {assign var=decision value=$submission->getMostRecentDecision()} {if $decision == $smarty.const.SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS}{translate key="author.submissions.queuedReviewRevisions"} {elseif $submission->getCurrentRound() > 1}{translate key="author.submissions.queuedReviewSubsequent" round=$submission->getCurrentRound()} {else}{translate key="submissions.queuedReview"} {/if} {elseif $status==STATUS_QUEUED_EDITING} {assign var="proofSignoff" value=$submission->getSignoff('SIGNOFF_PROOFREADING_AUTHOR')} {if $proofSignoff->getDateNotified() && !$proofSignoff->getDateCompleted()}{translate key="author.submissions.queuedEditingCopyedit"} {elseif $proofSignoff->getDateNotified() && !$proofSignoff->getDateCompleted()}{translate key="author.submissions.queuedEditingProofread"} {else}{translate key="submissions.queuedEditing"} {/if} {/if} {** Payment related actions *} {if $status==STATUS_QUEUED_UNASSIGNED || $status==STATUS_QUEUED_REVIEW} {if $submissionEnabled && !$completedPaymentDAO->hasPaidSubmission($submission->getJournalId(), $submission->getId())}
{translate key="payment.submission.paySubmission"} {elseif $fastTrackEnabled}
{if $submission->getFastTracked()} {translate key="payment.fastTrack.inFastTrack"} {else} {translate key="payment.fastTrack.payFastTrack"} {/if} {/if} {elseif $status==STATUS_QUEUED_EDITING} {if $publicationEnabled}
{if $completedPaymentDAO->hasPaidPublication($submission->getJournalId(), $submission->getId())} {translate key="payment.publication.publicationPaid} {else} {translate key="payment.publication.payPublication"} {/if} {/if} {/if}
{if $submission->getLocalizedTitle()}{$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."}{else}{translate key="common.untitled"}{/if} {translate key="submissions.incomplete"}
{translate key="common.delete"}
 
{translate key="submissions.noSubmissions"}
 
{page_info iterator=$submissions} {page_links anchor="submissions" name="submissions" iterator=$submissions sort=$sort sortDirection=$sortDirection}