From e258e3e1eb2d2dafc92c016253fd29d48869af73 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 14 Jul 2021 22:16:58 +0200 Subject: add "fällt aus" marker to cancelled departures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/departure_list.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/departure_list.html b/templates/departure_list.html index de7b48d..3762a03 100644 --- a/templates/departure_list.html +++ b/templates/departure_list.html @@ -23,7 +23,10 @@ {{ departure.direction }} {% if departure.cancelled and departure.plannedWhen %} - {{ departure.plannedWhen.strftime("%H:%M") }} + + fällt aus + {{ departure.plannedWhen.strftime("%H:%M") }} + {% else %} {% if departure.delay %} -- cgit v1.2.3