From f17da08e8ac22b7b474e89d7ffd29a1a7784862b Mon Sep 17 00:00:00 2001 From: yaemiku Date: Wed, 19 Jan 2022 20:48:33 +0100 Subject: [PATCH] did the student enter the finals --- app/templates/user/submission.html | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/app/templates/user/submission.html b/app/templates/user/submission.html index 1fdec9a..bac8e76 100644 --- a/app/templates/user/submission.html +++ b/app/templates/user/submission.html @@ -13,7 +13,12 @@ Identyfikator Uczeń Klasa - {% if ongoing.scores_eliminations %}Wynik uzyskany podczas eliminacji{% endif %} + {% if ongoing.scores_eliminations %} + Liczba punktów zdobytych podczas eliminacji + {% if ongoing.entry_threshold > 0 %} + Wynik eliminacji + {% endif %} + {%endif %} {% for student in students %} @@ -22,7 +27,20 @@ {{ student.identifier }} {{ student.name }} {{ student.surname }} {{ student.grade }} - {% if ongoing.scores_eliminations %}{{ student.score_first | default:"-" }}{% endif %} + {% if ongoing.scores_eliminations %} + + {{ student.score_first | default:"-" }} + + {% if ongoing.entry_threshold > 0 %} + + {% if student.score_first > ongoing.entry_threshold %} + Uczeń zakwalifikowany do finału + {% else %} + Uczeń niezakwalifikowany do finału + {% endif %} + + {% endif %} + {% endif %} {% endfor %}