diff --git a/tournaments/templates/tournaments/tournament_info.html b/tournaments/templates/tournaments/tournament_info.html index 49a055f..ae1a0ce 100644 --- a/tournaments/templates/tournaments/tournament_info.html +++ b/tournaments/templates/tournaments/tournament_info.html @@ -14,8 +14,66 @@
-

{{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}

+ {% if tournament.online_register_is_enabled and team %} +

Votre équipe

+ +
+
+ {% if team.is_in_waiting_list >= 0 %} + Vous êtes en liste d'attente. +
+ {% if team.is_in_waiting_list == 1 %} + {{ team.is_in_waiting_list }} équipe en liste d'attente devant vous + {% elif team.is_in_waiting_list > 1 %} + {{ team.is_in_waiting_list }} équipes en liste d'attente devant vous + {% elif team.is_in_waiting_list == 0 %} + Aucune équipe en liste d'attente devant vous + {% endif %} +
+ {% endif %} +
+ +
+ {% for player in team.players %} +
{{ player.name }}
+ {% endfor %} +
+

+

+

Inscrits le {{ team.local_registration_date }}
+

+ + {% if tournament.is_unregistration_possible %} +

+ +

+ {% for message in messages %} +
{{ message }}
+ {% endfor %} +
+ + + {% if team.is_in_waiting_list >= 0 %} + Se retirer de la liste d'attente + {% else %} + Se désinscrire + {% endif %} + +

+ + {% endif %} +
+ {% endif %} +

{{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}

{{ tournament.local_start_date_formatted }}
@@ -116,66 +174,6 @@ {% endif %} {% endif %}
- - {% if tournament.online_register_is_enabled and team %} -

Votre équipe

- -
-
- {% if team.is_in_waiting_list >= 0 %} - Vous êtes en liste d'attente. -
- {% if team.is_in_waiting_list == 1 %} - {{ team.is_in_waiting_list }} équipe en liste d'attente devant vous - {% elif team.is_in_waiting_list > 1 %} - {{ team.is_in_waiting_list }} équipes en liste d'attente devant vous - {% elif team.is_in_waiting_list == 0 %} - Aucune équipe en liste d'attente devant vous - {% endif %} -
- {% endif %} -
- -
- {% for player in team.players %} -
{{ player.name }}
- {% endfor %} -
-

-

-

Inscrits le {{ team.local_registration_date }}
-

- - {% if tournament.is_unregistration_possible %} -

- -

- {% for message in messages %} -
{{ message }}
- {% endfor %} -
- - - {% if team.is_in_waiting_list >= 0 %} - Se retirer de la liste d'attente - {% else %} - Se désinscrire - {% endif %} - -

- - - {% endif %} -
- {% endif %}