- Submission {{ submission.submitid }}
- {% if submission.originalSubmission %}
- {% set origSubmissionUrl = path('jury_submission', {submitId: submission.originalSubmission.submitid}) %}
- (resubmit of s{{ submission.originalSubmission.submitid }})
- {% endif %}
- {% if submission.resubmissions is not empty %}
- (resubmitted as
- {%- for resubmission in submission.resubmissions -%}
- {% set resubmissionUrl = path('jury_submission', {submitId: resubmission.submitid}) %}
- s{{ resubmission.submitid }}
- {%- if not loop.last -%},{%- endif -%}
- {%- endfor -%}
- )
- {% endif %}
- {% if not submission.valid %}
- (ignored)
- {% endif %}
-
- {% if not submission.importError %}
- {% if is_granted('ROLE_ADMIN') %}
- {% if submission.valid %}
- {% set action = 'ignore' %}
- {% else %}
- {% set action = 'unignore' %}
+
+
+
+ Submission s{{ submission.submitid }}
+ {% if submission.originalSubmission %}
+ {% set origSubmissionUrl = path('jury_submission', {submitId: submission.originalSubmission.submitid}) %}
+ (resubmit of s{{ submission.originalSubmission.submitid }})
+ {% endif %}
+ {% if submission.resubmissions is not empty %}
+ (resubmitted as
+ {%- for resubmission in submission.resubmissions -%}
+ {% set resubmissionUrl = path('jury_submission', {submitId: resubmission.submitid}) %}
+ s{{ resubmission.submitid }}
+ {%- if not loop.last -%},{%- endif -%}
+ {%- endfor -%}
+ )
+ {% endif %}
+ {% if not submission.valid %}
+ (ignored)
{% endif %}
-
+
+ {% if not submission.importError %}
+
+ {% if is_granted('ROLE_ADMIN') %}
+ {% if submission.valid %}
+ {% set action = 'ignore' %}
+ {% else %}
+ {% set action = 'unignore' %}
+ {% endif %}
+
+ {% endif %}
+
+ {% include 'jury/partials/rejudge_form.html.twig' with {table: 'submission', id: submission.submitid} %}
+
{% endif %}
- {% include 'jury/partials/rejudge_form.html.twig' with {table: 'submission', id: submission.submitid} %}
- {% endif %}
+ {# Condensed submission info on a single line with icons #}
+
External ID:
@@ -343,16 +348,11 @@
{% if selectedJudging is not null or externalJudgement is not null %}
- {% if (selectedJudging is not null and selectedJudging.result != 'compiler-error')
- or (externalJudgement is not null and externalJudgement.result != 'compiler-error') %}
- {% include 'jury/partials/submission_graph.html.twig' %}
- {% endif %}
-
{% if selectedJudging is not null %}
{# Show judging information #}
- {% if selectedJudging is not null and selectedJudging.compileMetadata is not null %}
- {{ selectedJudging.compileMetadata | printMetadata }}
-
-
-
{{ selectedJudging.compileMetadata }}
-
-
-
- {% endif %}
-
-
Compilation output
- {% if output is empty %}
-
There were no compiler errors or warnings.
- {% else %}
-
{{ output }}
+ {% if (selectedJudging is not null and selectedJudging.result != 'compiler-error')
+ or (externalJudgement is not null and externalJudgement.result != 'compiler-error') %}
+ {% include 'jury/partials/submission_graph.html.twig' %}
{% endif %}
-
+
+
+
{% if externalJudgement is not null or (selectedJudging is not null and selectedJudging.result != 'compiler-error') %}
{# Show run info. Only when compilation was successful or we have an external judgement #}
@@ -665,7 +675,7 @@
| .../{{ runsOutput[runIdx].testcasedir | split('/') | last }}{#-
-#}
{% endif %}
-
+