From cc22cc33542bafaf75aaf4d051a62c1e59547942 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 18 Apr 2016 16:53:36 +0200 Subject: show departure platform (if available) in infoscreen mode --- templates/infoscreen.html.ep | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates') 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 % } + +% if ($departure->can('platform') and $departure->platform) { +%= $departure->platform +% } + % } -- cgit v1.2.3