From 9a022641bc943f26f47b85f653e50eac34e84c36 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 23 Aug 2021 21:34:25 +0200 Subject: show cancellation instead of platform --- templates/departure_list.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/departure_list.html b/templates/departure_list.html index 3df1e65..3edaef6 100644 --- a/templates/departure_list.html +++ b/templates/departure_list.html @@ -9,7 +9,6 @@ {% if departure.cancelled and departure.plannedWhen %} - fällt aus {{ departure.plannedWhen.strftime("%H:%M") }} {% else %} @@ -20,8 +19,10 @@ {{ departure.relativeWhen }} {% endif %} - {% if departure.platform %} - {{ departure.platform }} + {% if departure.cancelled %} + + {% elif departure.platform %} + {{ departure.platform }} {% endif %} -- cgit v1.2.3