summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-09-08 21:24:54 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-09-08 21:24:54 +0200
commitb50d2fbc61eedad51711c0b2f6091f96d75006f7 (patch)
tree35414f6551ecd389998ce2866df6119bd1491727 /templates
parent8cc45c2f892e975af1006cda0235348f6565f97b (diff)
app: fix 'HASH(...)' entries in moreinfo4.11.1
Diffstat (limited to 'templates')
-rw-r--r--templates/app.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 8280925..6062905 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -40,7 +40,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-moreinfo="<%= join(q{|}, map { ($_->[0]->isa('DateTime') ? $_->[0]->strftime('%H:%M') . ' ' . $_->[1] : $_->[0] . ' ' . $_->[1]{text}) } @{ $departure->{moreinfo} // [] } ) %>"
data-routeprev="<%= join(q{|}, @{ $departure->{route_pre} // [] } ) %>"
data-routenext="<%= join(q{|}, @{ $departure->{route_post} // [] } ) %>"
% if ($departure->{is_cancelled} or $departure->{departure_is_cancelled}) {