1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-08 05:30:22 +02:00

Affichage du tournoi dans la liste des réponses à un questionnaire

This commit is contained in:
Emmy D'Anello
2025-04-28 20:35:23 +02:00
parent ab459ecc17
commit 60f5236dee
2 changed files with 5 additions and 2 deletions

View File

@ -48,6 +48,7 @@
<thead>
<tr>
<th>{% trans "participant"|capfirst %}</th>
<th>{% trans "tournament"|capfirst %}</th>
<th>{% trans "completed"|capfirst %}</th>
</tr>
</thead>
@ -56,8 +57,10 @@
<tr class="{% if participant in survey.completed.all %}table-success{% else %}table-danger{% endif %}">
{% if survey.invite_team %}
<td>{% trans "Team" %} {{ participant.name }} ({{ participant.trigram }})</td>
<td>{{ participant.participation.tournament.name }}</td>
{% else %}
<td>{{ participant.user.first_name }} {{ participant.user.last_name }} ({% trans "team" %} {{ participant.team.trigram }})</td>
<td>{{ participant.team.participation.tournament.name }}</td>
{% endif %}
{% if participant in survey.completed.all %}
<td>{% trans "Yes" %}</td>