Skip to content

Commit

Permalink
pkp#7690 Resolve smarty pickiness
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Oct 18, 2022
1 parent 0c587e0 commit 5e88c87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{csrf}
<input type="hidden" name="submissionId" value="{$submissionId|escape}" />
<input type="hidden" name="stageId" value="{$stageId|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|default:""|escape}" />
<input type="hidden" name="decision" value="{$smarty.const.SUBMISSION_EDITOR_DECISION_NEW_ROUND}" />

<!-- Revision files grid (Displays only revisions at first, and hides all other files which can then be displayed with filter button -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{csrf}
<input type="hidden" name="submissionId" value="{$submissionId|escape}" />
<input type="hidden" name="stageId" value="{$stageId|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|default:""|escape}" />

{if !empty($editorRecommendations)}
{fbvFormSection label="editor.submission.recordedRecommendations"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
<input type="hidden" name="submissionId" value="{$submissionId|escape}" />
<input type="hidden" name="stageId" value="{$stageId|escape}" />
<input type="hidden" name="decision" value="{$decision|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|default:""|escape}" />

<p>{translate key="editor.submission.revertDeclineDescription"}</p>

{fbvFormButtons submitText="editor.submission.decision.revertDecline"}

</form>
</form>
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{csrf}
<input type="hidden" name="submissionId" value="{$submissionId|escape}" />
<input type="hidden" name="stageId" value="{$stageId|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|escape}" />
<input type="hidden" name="reviewRoundId" value="{$reviewRoundId|default:""|escape}" />

{* Set the decision or allow the decision to be selected *}
{if $decision != $smarty.const.SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS && $decision != $smarty.const.SUBMISSION_EDITOR_DECISION_RESUBMIT}
Expand Down

0 comments on commit 5e88c87

Please sign in to comment.