diff --git a/tournaments/templates/registration/my_tournaments.html b/tournaments/templates/registration/my_tournaments.html index b24a25f..557481a 100644 --- a/tournaments/templates/registration/my_tournaments.html +++ b/tournaments/templates/registration/my_tournaments.html @@ -11,66 +11,46 @@ {% load tz %}
-
-
+ {% if running_tournaments %} +
- {% if running_tournaments %} - {% for tournament in running_tournaments %} - {% include 'tournaments/tournament_row.html' %} - {% endfor %} - {% else %} -
- Aucun tournoi en cours -
- {% endif %} - + {% for tournament in running_tournaments %} + {% include 'tournaments/tournament_row.html' %} + {% endfor %}
- -
+ {% endif %} + {% if upcoming_tournaments %} +
- {% if upcoming_tournaments %} - {% for tournament in upcoming_tournaments %} - {% include 'tournaments/tournament_row.html' %} - {% endfor %} - {% else %} -
- Aucun tournoi à venir -
- {% endif %} + {% for tournament in upcoming_tournaments %} + {% include 'tournaments/tournament_row.html' %} + {% endfor %}
+ {% endif %} -
- -
-
- + {% if ended_tournaments %} +
- {% if ended_tournaments %} - {% for tournament in ended_tournaments %} - {% include 'tournaments/tournament_row.html' %} - {% endfor %} - -
+ {% endif %}
{% endblock %}