diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_map_infobox.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_map_infobox.html.ep b/templates/_map_infobox.html.ep index 8f66a6f..f1da392 100644 --- a/templates/_map_infobox.html.ep +++ b/templates/_map_infobox.html.ep @@ -37,7 +37,7 @@ data-poly="<%= stash('ajax_polyline') %>" %= sprintf('(%+d)', $next->{station}{arr_delay}) % } % } - % elsif ($next->{type} eq 'present') { + % elsif ($next->{type} eq 'present' and $next->{station}{arr}) { Zug steht in <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong> auf Gleis <strong><%= $next->{station}{platform} %></strong> |