diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-11-07 21:24:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-11-07 21:24:20 +0100 |
commit | 4783ecd2a73d14b64fc0bc9208946d3195adac41 (patch) | |
tree | 5e44db51556183cc2e29ebac220bcdf27a8d72b7 /templates | |
parent | 856907246d0959b8e3ffb11b541a9a7610115abb (diff) |
multi template: do not show platform for cancelled departures
Diffstat (limited to 'templates')
-rw-r--r-- | templates/multi.html.ep | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/multi.html.ep b/templates/multi.html.ep index 3a96381..6e58325 100644 --- a/templates/multi.html.ep +++ b/templates/multi.html.ep @@ -7,7 +7,9 @@ <div class="display <% if (($i % 2) == 0) { %> separator<% } %>"> <div class="platform"> +% if (not $departure->{is_cancelled}) { %= $departure->{platform} +% } </div> <div class="time"> |