summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-04-18 16:53:36 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-04-18 16:53:36 +0200
commitcc22cc33542bafaf75aaf4d051a62c1e59547942 (patch)
treeb2d7f45ceae14603436e268dc2c1b5b5bda8fa8d /templates
parent3bba736bfe864586c6d12c41787d195f650f2fdf (diff)
show departure platform (if available) in infoscreen mode
Diffstat (limited to 'templates')
-rw-r--r--templates/infoscreen.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 0778d1f..8ff8d96 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -169,6 +169,11 @@
% else {
%= $departure->time
% }
+ <span class="platform">
+% if ($departure->can('platform') and $departure->platform) {
+%= $departure->platform
+% }
+ </span>
</span>
</li>
% }