From 3d7ab2d371c5f5b6309992bdfc2c1cde06873823 Mon Sep 17 00:00:00 2001 From: Raz Date: Tue, 1 Apr 2025 11:35:28 +0200 Subject: [PATCH] new style list of tournaments --- .../registration/my_tournaments.html | 28 ++++++++++--------- .../templates/tournaments/tournaments.html | 2 +- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/tournaments/templates/registration/my_tournaments.html b/tournaments/templates/registration/my_tournaments.html index 41facb4..8214b13 100644 --- a/tournaments/templates/registration/my_tournaments.html +++ b/tournaments/templates/registration/my_tournaments.html @@ -11,18 +11,6 @@ {% load tz %}
-
-
- - {% if upcoming_tournaments %} - {% for tournament in upcoming_tournaments %} - {% include 'tournaments/tournament_row.html' %} - {% endfor %} - {% else %} - Aucun tournoi à venir - {% endif %} -
-
@@ -36,7 +24,8 @@
-
+ +
{% if ended_tournaments %} @@ -48,4 +37,17 @@ {% endif %}
+ +
+
+ + {% if upcoming_tournaments %} + {% for tournament in upcoming_tournaments %} + {% include 'tournaments/tournament_row.html' %} + {% endfor %} + {% else %} + Aucun tournoi à venir + {% endif %} +
+
{% endblock %} diff --git a/tournaments/templates/tournaments/tournaments.html b/tournaments/templates/tournaments/tournaments.html index bd5d7d9..8200273 100644 --- a/tournaments/templates/tournaments/tournaments.html +++ b/tournaments/templates/tournaments/tournaments.html @@ -73,7 +73,7 @@ {% endif %} {% if ended %} -
+