summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-10-15 20:10:42 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-10-15 20:10:42 +0200
commitc0dcbabbbb7ea9ecdbf382b112df447b6c60956f (patch)
tree159dd2aa32db99b324b96bae426d5149e4777ec8 /templates
parent4412dc8cf30d7ac812178d91ce5674c9c773902e (diff)
moreinfo: Fix platform check, add IRIS messages2.3.9
Diffstat (limited to 'templates')
-rw-r--r--templates/app.html.ep1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 0b5e52f..a769bd5 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -61,6 +61,7 @@
data-platform="<%= $departure->{scheduled_platform} // $departure->{platform} // '' %>"
data-arrival="<%= $departure->{sched_arrival} // '' %>"
data-departure="<%= $departure->{sched_departure} // '' %>"
+ data-moreinfo="<%= join(q{|}, map { ($_->[0]->isa('DateTime') ? $_->[0]->strftime('%H:%M') : $_->[0]) . ' ' . $_->[1] } @{ $departure->{moreinfo} // [] } ) %>"
data-routeprev="<%= join(q{|}, @{ $departure->{route_pre} // [] } ) %>"
data-routenext="<%= join(q{|}, @{ $departure->{route_post} // [] } ) %>"
% my $extraclasses = q{};