summaryrefslogtreecommitdiff
path: root/templates/app.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-10-15 18:41:57 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-10-15 18:41:57 +0200
commit4412dc8cf30d7ac812178d91ce5674c9c773902e (patch)
tree17b36debc5655e86a11222d95fb4c9858e3ffef2 /templates/app.html.ep
parent7a11b1366d4748b8708d52f09ec3d3dfb650168a (diff)
prepare more detailed traininfo view when offline / on slow network
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r--templates/app.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 47f2b32..0b5e52f 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -58,6 +58,11 @@
data-linetype="<%= $linetype %>"
data-from="<%= $departure->{origin} // q{???} %>"
data-to="<%= $departure->{destination} // q{???} %>"
+ data-platform="<%= $departure->{scheduled_platform} // $departure->{platform} // '' %>"
+ data-arrival="<%= $departure->{sched_arrival} // '' %>"
+ data-departure="<%= $departure->{sched_departure} // '' %>"
+ data-routeprev="<%= join(q{|}, @{ $departure->{route_pre} // [] } ) %>"
+ data-routenext="<%= join(q{|}, @{ $departure->{route_post} // [] } ) %>"
% my $extraclasses = q{};
% if ($departure->{is_cancelled} or $departure->{departure_is_cancelled}) {
% $extraclasses .= ' cancelled';