From 4b7882cae74b49421910906394a58926566cbeec Mon Sep 17 00:00:00 2001 From: Raz Date: Tue, 1 Apr 2025 18:44:33 +0200 Subject: [PATCH] fix my tournaments --- .../registration/my_tournaments.html | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/tournaments/templates/registration/my_tournaments.html b/tournaments/templates/registration/my_tournaments.html index 8214b13..3d117cd 100644 --- a/tournaments/templates/registration/my_tournaments.html +++ b/tournaments/templates/registration/my_tournaments.html @@ -23,30 +23,29 @@ {% endif %} - -
- - {% if ended_tournaments %} - {% for tournament in ended_tournaments %} + + {% if upcoming_tournaments %} + {% for tournament in upcoming_tournaments %} {% include 'tournaments/tournament_row.html' %} {% endfor %} {% else %} - Aucun tournoi terminé + Aucun tournoi à venir {% endif %}
+
-
+
- - {% if upcoming_tournaments %} - {% for tournament in upcoming_tournaments %} + + {% if ended_tournaments %} + {% for tournament in ended_tournaments %} {% include 'tournaments/tournament_row.html' %} {% endfor %} {% else %} - Aucun tournoi à venir + Aucun tournoi terminé {% endif %}