From 01cdc22a32646e67434ece324a0a316af6a30367 Mon Sep 17 00:00:00 2001 From: Roman Hajnala Date: Sun, 23 Mar 2025 21:33:37 +0100 Subject: [PATCH] preformatovane kategoria na rovnaku vysku --- src/templates/core/index.html | 49 ++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/src/templates/core/index.html b/src/templates/core/index.html index 9c5d433..8d068b7 100644 --- a/src/templates/core/index.html +++ b/src/templates/core/index.html @@ -46,32 +46,33 @@ spadnete do jedné z kategorií.


-
- {% for category in event.categories.all %} -
-

// {{ category.name }}

-

- {{ category.description }} -

- {% if category.length %} -

Dlzka: {{ category.length }} m

- {% endif %} - {% if category.climb %} -

Stoupání: {{ category.climb }} m

- {% endif %} - {% if category.gpx %} -

GPX

- {% endif %} - - {% if category.mapy_cz_url %} - - {% endif %} -
- {% empty %} - Zatím nebyly vytvořeny žádné kategorie. - {% endfor %} +
+ {% for category in event.categories.all %} +
+
+

// {{ category.name }}

+

{{ category.description }}

+ {% if category.length %} +

Dlzka: {{ category.length }} m

+ {% endif %} + {% if category.climb %} +

Stoupání: {{ category.climb }} m

+ {% endif %} + {% if category.gpx %} +

GPX

+ {% endif %} +
+ {% if category.mapy_cz_url %} + + {% endif %} +
+
+ {% empty %} +
Zatím nebyly vytvořeny žádné kategorie.
+ {% endfor %} +