|
197 | 197 | </a> |
198 | 198 | </span> |
199 | 199 |
|
200 | | - {% if external_ccs_submission_url is not empty %} |
201 | | - {% set externalSubmissionUrl = submission | externalCcsUrl %} |
202 | | - {% if externalSubmissionUrl is not empty %} |
203 | | - <span> |
204 | | - <i class="fas fa-link" title="External link:"></i> |
205 | | - <a href="{{ externalSubmissionUrl }}" target="_blank"> |
206 | | - View in external CCS |
207 | | - </a> |
208 | | - </span> |
| 200 | + {% if shadowMode() and submission.externalid %} |
| 201 | + {% if external_ccs_submission_url is empty %} |
| 202 | + External ID: {{- submission.externalid -}} |
| 203 | + {% else %} |
| 204 | + {% set externalSubmissionUrl = submission | externalCcsUrl %} |
| 205 | + {% if externalSubmissionUrl is not empty %} |
| 206 | + <span> |
| 207 | + <i class="fas fa-link" title="External link:"></i> |
| 208 | + <a href="{{ externalSubmissionUrl }}" target="_blank"> |
| 209 | + View in external CCS |
| 210 | + </a> |
| 211 | + (ID: {{- submission.externalid -}}) |
| 212 | + </span> |
| 213 | + {% endif %} |
209 | 214 | {% endif %} |
210 | 215 | {% endif %} |
211 | 216 | </div> |
|
230 | 235 | </div> |
231 | 236 | {% endif %} |
232 | 237 |
|
233 | | - {% if shadowMode() and submission.externalid %} |
234 | | - <div class="mb-2"> |
235 | | - External ID: |
236 | | - {% if external_ccs_submission_url is empty %} |
237 | | - {{- submission.externalid -}} |
238 | | - {% else %} |
239 | | - <a href="{{ submission | externalCcsUrl }}" target="_blank"> |
240 | | - {{- submission.externalid -}} |
241 | | - </a> |
242 | | - {%- endif -%} |
243 | | - {%- if externalJudgement is not null -%} |
244 | | - , {{ externalJudgement.result | printValidJuryResult }} |
245 | | - {% endif %} |
246 | | - </div> |
247 | | - {% endif %} |
248 | | -
|
249 | 238 | {% if externalJudgement is not null and externalJudgement.result is not empty and ( |
250 | 239 | (selectedJudging is not null and selectedJudging.result is not empty and externalJudgement.result != selectedJudging.result) |
251 | 240 | or submission.importError) %} |
|
558 | 547 | </td> |
559 | 548 | <td> |
560 | 549 | {% if externalSubmissionUrl is defined and externalSubmissionUrl is not empty %} |
561 | | - <a href="{{ externalSubmissionUrl }}"> |
562 | | - {% endif %} |
563 | | - external {{ externalJudgement.extjudgementid }} |
564 | | - {% if externalSubmissionUrl is defined and externalSubmissionUrl is not empty %} |
565 | | - </a> |
| 550 | + <a href="{{ externalSubmissionUrl }}"> |
| 551 | + {% endif %} |
| 552 | + external |
| 553 | + {% if externalSubmissionUrl is defined and externalSubmissionUrl is not empty %} |
| 554 | + </a> |
566 | 555 | {% endif %} |
567 | 556 | </td> |
568 | 557 | </tr> |
|
0 commit comments