From 46faccf959e876ef1b4541e3f67843af4b0db235 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Thu, 8 Jun 2023 15:37:05 +0200 Subject: [PATCH] [BUGFIX] styling special events list view --- templates/index.html.tera | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index 75648d9..220cd60 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -42,11 +42,12 @@
{{ planned_event.planned_starting_time }} Uhr + + ({{ planned_event.name }} - {% if planned_event.trip_type %} {{ planned_event.trip_type.icon | safe }}{{ planned_event.trip_type.name }} - {% endif %} - - ({{ planned_event.name }})
+ {% endif %}) +

{% if trip.max_people == 0 %} - ⚠ {{ trip.planned_starting_time }} Uhr + ⚠ {{ trip.planned_starting_time }} Uhr + (Absage {{ trip.cox_name }} - {% if trip.trip_type %} {{ trip.trip_type.icon | safe }}{{ trip.trip_type.name }} - {% endif %} - - (Absage {{ trip.cox_name }}) + {% endif %}) + {% else %} - {{ trip.planned_starting_time }} Uhr + {{ trip.planned_starting_time }} Uhr + ({{ trip.cox_name }} - {% if trip.trip_type %} {{ trip.trip_type.icon | safe }}{{ trip.trip_type.name }} - {% endif %} - - ({{ trip.cox_name }}) + {% endif %}) + {% endif %}