diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-04-18 16:53:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-04-18 16:53:36 +0200 |
commit | cc22cc33542bafaf75aaf4d051a62c1e59547942 (patch) | |
tree | b2d7f45ceae14603436e268dc2c1b5b5bda8fa8d /templates | |
parent | 3bba736bfe864586c6d12c41787d195f650f2fdf (diff) |
show departure platform (if available) in infoscreen mode
Diffstat (limited to 'templates')
-rw-r--r-- | templates/infoscreen.html.ep | 5 |
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> % } |