From ef2d4413b2296947f5039220ecef42ce54df14dd Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 24 Jun 2024 15:11:09 +0200 Subject: [PATCH] Fix additional separator for club list --- tournaments/templates/tournaments/club_row.html | 5 ++++- tournaments/templates/tournaments/clubs.html | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tournaments/templates/tournaments/club_row.html b/tournaments/templates/tournaments/club_row.html index a911018..11f4f0c 100644 --- a/tournaments/templates/tournaments/club_row.html +++ b/tournaments/templates/tournaments/club_row.html @@ -1,6 +1,6 @@ {% load static %} -
+
{{ club.name }} @@ -10,3 +10,6 @@
{{ summon.date|date:'H:i' }}
{{ summon.stage }}
-->
+ {% if not forloop.last %} +
+ {% endif %} diff --git a/tournaments/templates/tournaments/clubs.html b/tournaments/templates/tournaments/clubs.html index 40d4a25..169ef49 100644 --- a/tournaments/templates/tournaments/clubs.html +++ b/tournaments/templates/tournaments/clubs.html @@ -21,7 +21,6 @@ {% include 'tournaments/club_row.html' %} {% endfor %} -