From 9765a97011272bde005dd96a43d10e7e887ded0b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 6 Aug 2015 16:02:05 +0200 Subject: infoscreen: detail view: all times in the timetable are schedule data --- templates/infoscreen.html.ep | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index c20589d..54b1605 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -76,7 +76,14 @@ <%= $stop->name %> % } - <%= $departure->time %> + +% if ($departure->can('sched_time')) { + <%= $departure->sched_time %> +% } +% else { + <%= $departure->time %> +% } + <%= $id_name %> <%= $id_stop %> % for my $stop ($departure->route_post) { -- cgit v1.2.3