summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-11-07 21:24:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-11-07 21:24:20 +0100
commit4783ecd2a73d14b64fc0bc9208946d3195adac41 (patch)
tree5e44db51556183cc2e29ebac220bcdf27a8d72b7
parent856907246d0959b8e3ffb11b541a9a7610115abb (diff)
multi template: do not show platform for cancelled departures
-rw-r--r--templates/multi.html.ep2
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">