From 424897fcc377886d1dab2d2d1a2142a0d8c78faa Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 27 Nov 2019 18:32:13 +0100 Subject: [PATCH] improve cancellation mark in connections overview --- templates/_connections.html.ep | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index a30e896..2837e93 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -69,7 +69,6 @@ % if ($train->departure_is_cancelled) { %= $train->sched_departure->strftime('%H:%M') - (fällt aus) % } % else { %= $train->departure->strftime('%H:%M') @@ -81,6 +80,9 @@ % if (not $train->departure_is_cancelled) { Gleis <%= $train->platform || '?' %> % } + % else { + fällt aus + % } % }