summaryrefslogtreecommitdiff
path: root/templates/_map_infobox.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-12-22 23:01:46 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-12-22 23:01:46 +0100
commit07bcce9b4129552ceaa1e48998b4f7720929fa20 (patch)
tree2e2930f374d5d7eace613be59f391b86f0c2fff2 /templates/_map_infobox.html.ep
parentf357bb52cd0acf6ba7039ef4af0282388b5c8a87 (diff)
Switch to T-S-DE-HAFAS 5.034.19.4
Diffstat (limited to 'templates/_map_infobox.html.ep')
-rw-r--r--templates/_map_infobox.html.ep8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/_map_infobox.html.ep b/templates/_map_infobox.html.ep
index a94cb27..c8936ae 100644
--- a/templates/_map_infobox.html.ep
+++ b/templates/_map_infobox.html.ep
@@ -14,7 +14,7 @@ data-poly="<%= stash('ajax_polyline') %>"
% if (my $next = stash('next_stop')) {
<div class="nextstop">
% if ($next->{type} eq 'present' and $next->{station}{dep} and $next->{station}{arr}) {
- <%= l 'Aufenthalt in' %> <strong><%= $next->{station}{name} %></strong>
+ <%= l 'Aufenthalt in' %> <strong><%= $next->{station}->loc->name %></strong>
% if ($next->{station}{platform}) {
<%= l 'an Gleis' %> <strong><%= $next->{station}{platform} %></strong>
% }
@@ -24,7 +24,7 @@ data-poly="<%= stash('ajax_polyline') %>"
% }
% }
% elsif ($next->{type} eq 'present' and $next->{station}{dep}) {
- <%= l 'Abfahrt in' %> <strong><%= $next->{station}{name} %></strong>
+ <%= l 'Abfahrt in' %> <strong><%= $next->{station}->loc->name %></strong>
% if ($next->{station}{platform}) {
<%= l 'von Gleis' %> <strong><%= $next->{station}{platform} %></strong>
% }
@@ -52,7 +52,7 @@ data-poly="<%= stash('ajax_polyline') %>"
% }
% elsif ($next->{type} eq 'next' and $next->{station}{arr}) {
%= l 'Nächster Halt:'
- <strong><%= $next->{station}{name} %></strong>
+ <strong><%= $next->{station}->loc->name %></strong>
<%= l 'um' %> <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong>
% if ($next->{station}{arr_delay}) {
%= sprintf('(%+d)', $next->{station}{arr_delay})
@@ -63,7 +63,7 @@ data-poly="<%= stash('ajax_polyline') %>"
% }
% elsif ($next->{type} eq 'next') {
%= l 'Nächster Halt:'
- <strong><%= $next->{station}{name} %></strong>
+ <strong><%= $next->{station}->loc->name %></strong>
% if ($next->{station}{platform}) {
<%= l 'auf Gleis' %> <strong><%= $next->{station}{platform} %></strong>
% }