Don't display final selection in the final tournament page

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-05-20 16:06:40 +02:00
parent 1138885fb4
commit 8216e0943f
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@
{% 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 available_notes_2 %} {% if available_notes_2 or user.registration.is_volunteer %}
{% if not tournament.final and participation.mention %} {% if not tournament.final and participation.mention %}
— {{ participation.mention }} — {{ participation.mention }}
{% endif %} {% endif %}
@ -113,7 +113,7 @@
— {{ participation.mention_final }} — {{ participation.mention_final }}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if participation.final %} {% if participation.final and not tournament.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>
{% trans "Selected for final tournament" %} {% trans "Selected for final tournament" %}