From 6df8a4d437ad0adc3c49377e7ea547afb3268b1a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 5 Nov 2014 12:34:28 +0100 Subject: clean: never show a delay for canceled trains --- templates/clean.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/clean.html.ep b/templates/clean.html.ep index c013cd6..21750d5 100644 --- a/templates/clean.html.ep +++ b/templates/clean.html.ep @@ -57,7 +57,7 @@ %= $departure->{destination} -% if ($departure->{delay}) { +% if ($departure->{delay} and not $departure->{is_cancelled}) { (+<%= $departure->{delay} %>) % } -- cgit v1.2.3