From 0e9d7857f801a780b91465b5664e9fde80ec41e2 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Thu, 8 Jun 2023 15:42:00 +0200 Subject: [PATCH] [BUGFIX] styling special events list view --- templates/index.html.tera | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index fc9e7c2..800175f 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -43,11 +43,7 @@ {{ 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 }}{% if planned_event.trip_type %} - {{ planned_event.trip_type.icon | safe }}{{ planned_event.trip_type.name }}{% endif %})
{% if trip.max_people == 0 %} ⚠ {{ 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 }}{% if trip.trip_type %} - {{ trip.trip_type.icon | safe }}{{ trip.trip_type.name }}{% endif %}) {% else %} {{ 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 }}{% if trip.trip_type %} - {{ trip.trip_type.icon | safe }}{{ trip.trip_type.name }}{% endif %}) {% endif %}