diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-09-08 21:24:54 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-09-08 21:24:54 +0200 |
commit | b50d2fbc61eedad51711c0b2f6091f96d75006f7 (patch) | |
tree | 35414f6551ecd389998ce2866df6119bd1491727 | |
parent | 8cc45c2f892e975af1006cda0235348f6565f97b (diff) |
app: fix 'HASH(...)' entries in moreinfo4.11.1
-rw-r--r-- | templates/app.html.ep | 2 |
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}) { |