diff options
Diffstat (limited to 'templates/_map_infobox.html.ep')
-rw-r--r-- | templates/_map_infobox.html.ep | 8 |
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> % } |