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
1 changed files with 8 additions and 6 deletions

View File

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