From 7d7acafbc2614cb567bb0f761b020ab547367d60 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 8 Oct 2015 22:21:36 +0200 Subject: infoscreen: add route timetable for ASEAG backend --- templates/infoscreen.html.ep | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index 1c0974f..8cfe5cb 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -98,6 +98,27 @@ <%= $stop->name %> % } +% } +% elsif ($departure->isa('Travel::Status::DE::URA::Result')) { + Fahrplan: + +% for my $stop ($departure->route_pre) { + + +% } + + +% for my $stop ($departure->route_post) { + + +% } +
+%= $stop->[0]->strftime('%H:%M:%S') + <%= $stop->[1] %>
+ <%= $departure->time %> + <%= $id_name %> <%= $id_stop %>
+%= $stop->[0]->strftime('%H:%M:%S') + <%= $stop->[1] %>
% } -- cgit v1.2.3