@ -14,38 +14,10 @@
< div class = "grid-x" >
< div class = "cell medium-6 large-6 padding10" >
< div class = "cell medium-12 large-6 padding10" >
{% if tournament.enable_online_registration and team %}
< h1 class = "club padding10 topmargin20" > Votre équipe< / h1 >
< div class = "bubble" >
{% if team.needs_confirmation %}
< div class = "alert {% if team.get_confirmation_deadline %}alert-warning{% else %}alert-info{% endif %}" >
< h4 class = "semibold" > Confirmation requise< / h4 >
< p > Votre place dans le tournoi a été libérée suite à une désinscription.< / p >
{% if tournament.should_request_payment and tournament.online_payment_is_mandatory %}
< p > Vous devez payer votre participation pour confirmer votre inscription.< / p >
{% endif %}
{% if team.get_confirmation_deadline %}
{% timezone tournament.timezone %}
{% with time_to_confirm=team.get_confirmation_deadline %}
{% now "Y-m-d H:i:s" as current_time_str %}
{% if time_to_confirm %}
{% if time_to_confirm|date:"Y-m-d H:i:s" > current_time_str %}
< p > Vous devez confirmer votre participation avant le:< / p >
< p class = "semibold highlight" > {{ time_to_confirm|date:"d/m/Y à H:i" }}< / p >
< p > Temps restant: < span class = "countdown-timer" > {{ time_to_confirm|timeuntil }}< / span > < / p >
{% else %}
< p class = "alert alert-danger" >
Le délai de confirmation est expiré. Votre place a été proposée à une autre équipe.
< / p >
{% endif %}
{% endif %}
{% endwith %}
{% endtimezone %}
{% endif %}
< / div >
{% endif %}
{% if messages %}
< div class = "messages" >
{% for message in messages %}
@ -55,7 +27,6 @@
{% endfor %}
< / div >
{% endif %}
< div class = "alert" >
{% if team.is_in_waiting_list >= 0 %}
Tournoi complet, vous êtes en liste d'attente.
@ -81,6 +52,33 @@
< div > Inscrits le {{ team.local_registration_date }}< / div >
< / p >
{% if team.needs_confirmation %}
< h4 class = "semibold" > Confirmation requise< / h4 >
< div > Une place dans le tournoi a été libérée !< / div >
{% if tournament.should_request_payment and tournament.online_payment_is_mandatory %}
< div > Vous devez payer votre inscription pour confirmer votre participation.< / div >
{% endif %}
{% if team.get_confirmation_deadline %}
{% timezone tournament.timezone %}
{% with time_to_confirm=team.get_confirmation_deadline %}
{% now "Y-m-d H:i:s" as current_time_str %}
{% if time_to_confirm %}
{% if time_to_confirm|date:"Y-m-d H:i:s" > current_time_str %}
< div > Vous devez confirmer votre participation avant le : < / div >
< p class = "semibold alert" > {{ time_to_confirm|date:"d/m/Y à H:i" }}< / p >
< p > Temps restant: < span class = "countdown-timer" > {{ time_to_confirm|timeuntil }}< / span > < / p >
{% else %}
< p class = "alert alert-danger" >
Le délai de confirmation est expiré. Votre place a été proposée à une autre équipe.
< / p >
{% endif %}
{% endif %}
{% endwith %}
{% endtimezone %}
{% endif %}
{% endif %}
{% if team.call_date %}
< div class = "topmargin20" >
< h4 class = "semibold" > Convocation< / h4 >
@ -109,13 +107,11 @@
<!-- Payment status information -->
{% if tournament.should_request_payment and team.is_in_waiting_list < 0 % }
< div class = "topmargin20" >
< h4 class = "semibold" > Paiement< / h4 >
{% if team.is_paid %}
< div class = "success-message" >
< div class = "success-message topmargin20 " >
< span class = "icon" > ✅< / span > Paiement confirmé
< / div >
{% else %}
< div >
< a href = "{% url 'proceed_to_payment' tournament.id %}" class = "rounded-button positive-button" >
{% if team.needs_confirmation %}
Confirmer en payant ({{ team.get_remaining_fee }}€)
@ -123,12 +119,11 @@
Procéder au paiement ({{ team.get_remaining_fee }}€)
{% endif %}
< / a >
< / div >
{% endif %}
< / div >
{% endif %}
{% if team.needs_confirmation and tournament.online_payment_is_mandatory is False %}
< div class = "alert {% if team.get_confirmation_deadline %}alert-warning{% else %}alert-info{% endif %} " >
< div class = "topmargin20 " >
< form method = "post" action = "{% url 'confirm_tournament_registration' tournament.id %}" >
{% csrf_token %}
< button type = "submit" class = "rounded-button positive-button" >
@ -139,7 +134,7 @@
{% endif %}
{% if tournament.is_unregistration_possible %}
< div >
< div class = "topmargin20" >
{% if tournament.is_refund_possible and team.is_paid %}
< p class = "minor info" >
Si vous vous désinscrivez, votre inscription sera remboursée automatiquement sur votre carte bancaire.
@ -148,7 +143,7 @@
{% endif %}
< / p >
{% endif %}
< div style = "margin-top: 40px;" >
< 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 tournament.is_refund_possible and team.is_paid %} Votre inscription sera remboursée automatiquement.{% endif %}');">
@ -160,7 +155,7 @@
< / a >
< / div >
{% endif %}
< / div >
< / div >
{% endif %}
< h1 class = "club padding10 topmargin20" > {{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}< / h1 >