1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 07:02:22 +00:00

Display mentions only after the reveal of the notes of the second round

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-17 00:43:42 +02:00
parent 49fda3df49
commit 53302db56a
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -105,12 +105,14 @@
{% for participation, note in notes %}
<li>
<strong>{{ participation.team }} :</strong> {{ note|floatformat }}
{% if not tournament.final and participation.mention %}
— {{ participation.mention }}
{% endif %}
{% if tournament.final and participation.mention_final %}
— {{ participation.mention_final }}
{% endif %}
{% if available_notes_2 %}
{% if not tournament.final and participation.mention %}
— {{ participation.mention }}
{% endif %}
{% if tournament.final and participation.mention_final %}
— {{ participation.mention_final }}
{% endif %}
{% endif %}
{% if participation.final %}
<span class="badge badge-sm text-bg-warning">
<i class="fas fa-medal"></i>