From 07bcce9b4129552ceaa1e48998b4f7720929fa20 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 22 Dec 2023 23:01:46 +0100 Subject: Switch to T-S-DE-HAFAS 5.03 --- templates/_map_infobox.html.ep | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates') 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')) {
% if ($next->{type} eq 'present' and $next->{station}{dep} and $next->{station}{arr}) { - <%= l 'Aufenthalt in' %> <%= $next->{station}{name} %> + <%= l 'Aufenthalt in' %> <%= $next->{station}->loc->name %> % if ($next->{station}{platform}) { <%= l 'an Gleis' %> <%= $next->{station}{platform} %> % } @@ -24,7 +24,7 @@ data-poly="<%= stash('ajax_polyline') %>" % } % } % elsif ($next->{type} eq 'present' and $next->{station}{dep}) { - <%= l 'Abfahrt in' %> <%= $next->{station}{name} %> + <%= l 'Abfahrt in' %> <%= $next->{station}->loc->name %> % if ($next->{station}{platform}) { <%= l 'von Gleis' %> <%= $next->{station}{platform} %> % } @@ -52,7 +52,7 @@ data-poly="<%= stash('ajax_polyline') %>" % } % elsif ($next->{type} eq 'next' and $next->{station}{arr}) { %= l 'Nächster Halt:' - <%= $next->{station}{name} %> + <%= $next->{station}->loc->name %> <%= l 'um' %> <%= $next->{station}{arr}->strftime('%H:%M') %> % 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:' - <%= $next->{station}{name} %> + <%= $next->{station}->loc->name %> % if ($next->{station}{platform}) { <%= l 'auf Gleis' %> <%= $next->{station}{platform} %> % } -- cgit v1.2.3