Skip to content

Commit

Permalink
Say 'Edit draft submission' sometimes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Feb 19, 2024
1 parent 0c65ef5 commit acadf4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions etc/msgs.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@
["paper_edit", "<0>New {sclass} {submission}", "<0>New {submission}", ["{sclass}="]],
["paper_edit", "<0>new {sclass} {submission}", "<0>new {submission}", ["{sclass}="]],
["paper_edit", "<0>Edit {sclass} {submission}", "<0>Edit {submission}", ["{sclass}="]],
["paper_edit", "<0>Edit {sclass} {submission}", "<0>Edit draft {sclass} {submission}", ["{draft}"]],
["paper_edit", "<0>Edit {sclass} {submission}", "<0>Edit draft {submission}", ["{sclass}=", "{draft}"]],
["paper_edit", "<0>Incomplete {submissions} will not be evaluated.", "<0>{Submissions} incomplete as of {deadline:time} will not be evaluated.", ["{deadline}>0"]],
["paper_edit", "<5>{Submissions} marked ready for review as of {:expandedtime} will be evaluated.", "<5>Only {submissions} marked ready for review will be evaluated.", ["{0}={1}"]],
["paper_edit", "<5>Please check {:list} for potential issues.", "<5>Please check the potential issues highlighted below.", ["!#{0}"]],
Expand Down
2 changes: 1 addition & 1 deletion src/papertable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2406,7 +2406,7 @@ private function _print_editable_body() {
$overrides = $this->user->add_overrides(Contact::OVERRIDE_EDIT_CONDITIONS);
$sr = $this->prow->submission_round();
echo '<div class="pedcard-head"><h2><span class="pedcard-header-name">',
$this->conf->_c5("paper_edit", $this->prow->paperId ? "<0>Edit {sclass} {submission}" : "<0>New {sclass} {submission}", new FmtArg("sclass", $sr->tag)),
$this->conf->_c5("paper_edit", $this->prow->paperId ? "<0>Edit {sclass} {submission}" : "<0>New {sclass} {submission}", new FmtArg("sclass", $sr->tag), new FmtArg("draft", $this->prow->timeSubmitted <= 0)),
'</span></h2></div>';

$this->_print_pre_status_feedback();
Expand Down

0 comments on commit acadf4d

Please sign in to comment.