diff --git a/webapp/templates/jury/submission.html.twig b/webapp/templates/jury/submission.html.twig index 917d53b555..c777c591e7 100644 --- a/webapp/templates/jury/submission.html.twig +++ b/webapp/templates/jury/submission.html.twig @@ -197,15 +197,20 @@ - {% if external_ccs_submission_url is not empty %} - {% set externalSubmissionUrl = submission | externalCcsUrl %} - {% if externalSubmissionUrl is not empty %} - - - - View in external CCS - - + {% if shadowMode() and submission.externalid %} + {% if external_ccs_submission_url is empty %} + External ID: {{- submission.externalid -}} + {% else %} + {% set externalSubmissionUrl = submission | externalCcsUrl %} + {% if externalSubmissionUrl is not empty %} + + + + View in external CCS + + (ID: {{- submission.externalid -}}) + + {% endif %} {% endif %} {% endif %} @@ -230,22 +235,6 @@ {% endif %} - {% if shadowMode() and submission.externalid %} -
- External ID: - {% if external_ccs_submission_url is empty %} - {{- submission.externalid -}} - {% else %} - - {{- submission.externalid -}} - - {%- endif -%} - {%- if externalJudgement is not null -%} - , {{ externalJudgement.result | printValidJuryResult }} - {% endif %} -
- {% endif %} - {% if externalJudgement is not null and externalJudgement.result is not empty and ( (selectedJudging is not null and selectedJudging.result is not empty and externalJudgement.result != selectedJudging.result) or submission.importError) %} @@ -558,11 +547,11 @@ {% if externalSubmissionUrl is defined and externalSubmissionUrl is not empty %} - - {% endif %} - external {{ externalJudgement.extjudgementid }} - {% if externalSubmissionUrl is defined and externalSubmissionUrl is not empty %} - + + {% endif %} + external + {% if externalSubmissionUrl is defined and externalSubmissionUrl is not empty %} + {% endif %}