diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-11-05 12:34:28 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-11-05 12:34:28 +0100 |
commit | 6df8a4d437ad0adc3c49377e7ea547afb3268b1a (patch) | |
tree | 74131a9abacb4ea9960031f2e36358e1ba9d1c5f /templates | |
parent | 4c206f01c7ac8a4211560f1d75b1ba9c8ef8b624 (diff) |
clean: never show a delay for canceled trains
Diffstat (limited to 'templates')
-rw-r--r-- | templates/clean.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
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} </span> <span class="countdown"> -% if ($departure->{delay}) { +% if ($departure->{delay} and not $departure->{is_cancelled}) { <span class="delay">(+<%= $departure->{delay} %>)</span> % } <span class="platform"> |