diff --git a/webapp/templates/team/partials/submission_list.html.twig b/webapp/templates/team/partials/submission_list.html.twig index 049fd1eb69e..77b96645b1d 100644 --- a/webapp/templates/team/partials/submission_list.html.twig +++ b/webapp/templates/team/partials/submission_list.html.twig @@ -53,21 +53,18 @@ {%- if submission.submittime > submission.contest.endtime %} {{ 'too-late' | printResult }} - {%- if showTooLateResult %} - ({%- if submission.judgings.first is empty or submission.judgings.first.result is empty %} - {{- '' | printResult -}} - {%- elseif verificationRequired and not submission.judgings.first.verified %} - {{- '' | printResult -}} - {%- else %} - {{- submission.judgings.first.result | printResult -}} - {%- endif %}) + {%- endif %} + {%- if submission.submittime <= submission.contest.endtime or showTooLateResult %} + {%- if submission.submittime > submission.contest.endtime %} + / + {% endif %} + {%- if submission.judgings.first is empty or submission.judgings.first.result is empty %} + {{- '' | printResult -}} + {%- elseif verificationRequired and not submission.judgings.first.verified %} + {{- '' | printResult -}} + {%- else %} + {{- submission.judgings.first.result | printResult -}} {%- endif %} - {%- elseif submission.judgings.first is empty or submission.judgings.first.result is empty %} - {{- '' | printResult -}} - {%- elseif verificationRequired and not submission.judgings.first.verified %} - {{- '' | printResult -}} - {%- else %} - {{- submission.judgings.first.result | printResult -}} {%- endif %}