summaryrefslogtreecommitdiff
path: root/templates/infoscreen.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/infoscreen.html.ep')
-rw-r--r--templates/infoscreen.html.ep21
1 files changed, 21 insertions, 0 deletions
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
@@ -99,6 +99,27 @@
% }
</table>
% }
+% elsif ($departure->isa('Travel::Status::DE::URA::Result')) {
+ Fahrplan:
+ <table class="scheduled">
+% for my $stop ($departure->route_pre) {
+ <tr class="routepre"><td class="time">
+%= $stop->[0]->strftime('%H:%M:%S')
+ </td>
+ <td class="stop"><%= $stop->[1] %></td></tr>
+% }
+ <tr class="routenow"><td class="time">
+ <%= $departure->time %>
+ </td>
+ <td class="stop"><%= $id_name %> <%= $id_stop %></td></tr>
+% for my $stop ($departure->route_post) {
+ <tr class="routepost"><td class="time">
+%= $stop->[0]->strftime('%H:%M:%S')
+ </td>
+ <td class="stop"><%= $stop->[1] %></td></tr>
+% }
+ </table>
+% }
</span> <!-- moreinfo -->
<span class="route">
% if ($departure->can('route_interesting') and $departure->route_interesting) {