|
|
|
|
@ -14,8 +14,66 @@ |
|
|
|
|
<div class="grid-x"> |
|
|
|
|
|
|
|
|
|
<div class="cell medium-6 large-6 my-block"> |
|
|
|
|
<h1 class="club my-block topmargin20">{{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}</h1 > |
|
|
|
|
{% if tournament.online_register_is_enabled and team %} |
|
|
|
|
<h1 class="club my-block topmargin20">Votre équipe</h1 > |
|
|
|
|
|
|
|
|
|
<div class="bubble"> |
|
|
|
|
<div class="alert"> |
|
|
|
|
{% if team.is_in_waiting_list >= 0 %} |
|
|
|
|
Vous êtes en liste d'attente. |
|
|
|
|
<div> |
|
|
|
|
{% 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 %} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="semibold topmargin20"> |
|
|
|
|
{% for player in team.players %} |
|
|
|
|
<div>{{ player.name }}</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
</p> |
|
|
|
|
<p> |
|
|
|
|
<div>Inscrits le {{ team.local_registration_date }}</div> |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
{% if tournament.is_unregistration_possible %} |
|
|
|
|
<p> |
|
|
|
|
|
|
|
|
|
<div class="margin10"> |
|
|
|
|
{% for message in messages %} |
|
|
|
|
<div class="alert alert-{{ message.tags }}">{{ message }}</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<a href="{% url 'unregister_tournament' tournament.id %}" |
|
|
|
|
class="rounded-button destructive-button" |
|
|
|
|
onclick="return confirm('Êtes-vous sûr de vouloir vous désinscrire ?');"> |
|
|
|
|
{% if team.is_in_waiting_list >= 0 %} |
|
|
|
|
Se retirer de la liste d'attente |
|
|
|
|
{% else %} |
|
|
|
|
Se désinscrire |
|
|
|
|
{% endif %} |
|
|
|
|
</a> |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
<!-- {% if is_captain %} |
|
|
|
|
{% else %} |
|
|
|
|
<p> |
|
|
|
|
<div>Vous n'êtes pas le capitaine de l'équipe, la désinscription en ligne n'est pas disponible. Veuillez contacter le JAP ou votre partenaire.</div> |
|
|
|
|
</p> |
|
|
|
|
{% endif %} |
|
|
|
|
--> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
<h1 class="club my-block topmargin20">{{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}</h1> |
|
|
|
|
<div class="bubble"> |
|
|
|
|
<p> |
|
|
|
|
<div class="semibold">{{ tournament.local_start_date_formatted }}</div> |
|
|
|
|
@ -116,66 +174,6 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if tournament.online_register_is_enabled and team %} |
|
|
|
|
<h1 class="club my-block topmargin20">Votre équipe</h1 > |
|
|
|
|
|
|
|
|
|
<div class="bubble"> |
|
|
|
|
<div class="alert"> |
|
|
|
|
{% if team.is_in_waiting_list >= 0 %} |
|
|
|
|
Vous êtes en liste d'attente. |
|
|
|
|
<div> |
|
|
|
|
{% 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 %} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="semibold topmargin20"> |
|
|
|
|
{% for player in team.players %} |
|
|
|
|
<div>{{ player.name }}</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
</p> |
|
|
|
|
<p> |
|
|
|
|
<div>Inscrits le {{ team.local_registration_date }}</div> |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
{% if tournament.is_unregistration_possible %} |
|
|
|
|
<p> |
|
|
|
|
|
|
|
|
|
<div class="margin10"> |
|
|
|
|
{% for message in messages %} |
|
|
|
|
<div class="alert alert-{{ message.tags }}">{{ message }}</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<a href="{% url 'unregister_tournament' tournament.id %}" |
|
|
|
|
class="rounded-button destructive-button" |
|
|
|
|
onclick="return confirm('Êtes-vous sûr de vouloir vous désinscrire ?');"> |
|
|
|
|
{% if team.is_in_waiting_list >= 0 %} |
|
|
|
|
Se retirer de la liste d'attente |
|
|
|
|
{% else %} |
|
|
|
|
Se désinscrire |
|
|
|
|
{% endif %} |
|
|
|
|
</a> |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
<!-- {% if is_captain %} |
|
|
|
|
{% else %} |
|
|
|
|
<p> |
|
|
|
|
<div>Vous n'êtes pas le capitaine de l'équipe, la désinscription en ligne n'est pas disponible. Veuillez contacter le JAP ou votre partenaire.</div> |
|
|
|
|
</p> |
|
|
|
|
{% endif %} |
|
|
|
|
--> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|