did the student enter the finals

This commit is contained in:
Nikola Kubiczek 2022-01-19 20:48:33 +01:00
parent 293caab1b4
commit f17da08e8a

View File

@ -13,7 +13,12 @@
<th>Identyfikator</th>
<th>Uczeń</th>
<th>Klasa</th>
{% if ongoing.scores_eliminations %}<th>Wynik uzyskany podczas eliminacji</th>{% endif %}
{% if ongoing.scores_eliminations %}
<th>Liczba punktów zdobytych podczas eliminacji</th>
{% if ongoing.entry_threshold > 0 %}
<th>Wynik eliminacji</th>
{% endif %}
{%endif %}
</tr>
</thead>
{% for student in students %}
@ -22,7 +27,20 @@
<th>{{ student.identifier }}</th>
<td>{{ student.name }} {{ student.surname }}</td>
<td>{{ student.grade }}</td>
{% if ongoing.scores_eliminations %}<td>{{ student.score_first | default:"-" }}</td>{% endif %}
{% if ongoing.scores_eliminations %}
<td>
{{ student.score_first | default:"-" }}
</td>
{% if ongoing.entry_threshold > 0 %}
<td>
{% if student.score_first > ongoing.entry_threshold %}
<b>Uczeń zakwalifikowany do finału</b>
{% else %}
Uczeń niezakwalifikowany do finału
{% endif %}
</td>
{% endif %}
{% endif %}
</tr>
</tbody>
{% endfor %}