From 750ec6f2965172ff905ff7d39135d23d282c6335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Dziurzy=C5=84ski?= Date: Sun, 24 Mar 2024 15:07:30 +0100 Subject: [PATCH 1/2] SE error hint fix --- oioioi/contests/templates/contests/submission.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/oioioi/contests/templates/contests/submission.html b/oioioi/contests/templates/contests/submission.html index c1b98e7b3..2d0014d8b 100644 --- a/oioioi/contests/templates/contests/submission.html +++ b/oioioi/contests/templates/contests/submission.html @@ -33,14 +33,14 @@ {% for report in reports %}
{{ report }} -
- {% if submission.status == 'SE' %} - - {% trans "Something went wrong on our side when judging your submission... Try again later or contact the administration if this issue persists." %} - {% endif %} -
{% endfor %} + {% if submission.status == 'SE' %} +
+ + {% trans "Something went wrong on our side when judging your submission... Try again later or contact the administration if this issue persists." %} +
+ {% endif %} {% if can_admin %}

From 8240c25cad8e9c57d7da392a7bbcc7dc9a748de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Dziurzy=C5=84ski?= <49620905+metenn@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:23:23 +0100 Subject: [PATCH 2/2] Update submission.html Fixes layout when submission has an SE verdict but some test reports are visible --- oioioi/contests/templates/contests/submission.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oioioi/contests/templates/contests/submission.html b/oioioi/contests/templates/contests/submission.html index 2d0014d8b..76fd09133 100644 --- a/oioioi/contests/templates/contests/submission.html +++ b/oioioi/contests/templates/contests/submission.html @@ -36,7 +36,7 @@ {% endfor %} {% if submission.status == 'SE' %} -
+
{% trans "Something went wrong on our side when judging your submission... Try again later or contact the administration if this issue persists." %}