Loading templates/_map_infobox.html.ep +18 −6 Original line number Diff line number Diff line Loading @@ -15,7 +15,9 @@ data-poly="<%= stash('ajax_polyline') %>" <div class="nextstop"> % if ($next->{type} eq 'present' and $next->{station}{dep} and $next->{station}{arr}) { Aufenthalt in <strong><%= $next->{station}{name} %></strong> % if ($next->{station}{platform}) { an Gleis <strong><%= $next->{station}{platform} %></strong> % } bis <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong> % if ($next->{station}{dep_delay}) { %= sprintf('(%+d)', $next->{station}{dep_delay}) Loading @@ -23,7 +25,9 @@ data-poly="<%= stash('ajax_polyline') %>" % } % elsif ($next->{type} eq 'present' and $next->{station}{dep}) { Abfahrt in <strong><%= $next->{station}{name} %></strong> % if ($next->{station}{platform}) { von Gleis <strong><%= $next->{station}{platform} %></strong> % } um <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong> % if ($next->{station}{dep_delay}) { %= sprintf('(%+d)', $next->{station}{dep_delay}) Loading @@ -32,7 +36,9 @@ data-poly="<%= stash('ajax_polyline') %>" % elsif ($next->{type} eq 'present' and $next->{station}{arr}) { Endstation erreicht um <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong> % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % if ($next->{station}{arr_delay}) { %= sprintf('(%+d)', $next->{station}{arr_delay}) % } Loading @@ -40,8 +46,10 @@ data-poly="<%= stash('ajax_polyline') %>" % elsif ($next->{type} eq 'present' and $next->{station}{arr}) { Zug steht in <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong> % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % } % elsif ($next->{type} eq 'next' and $next->{station}{arr}) { Nächster Halt: <strong><%= $next->{station}{name} %></strong> Loading @@ -49,13 +57,17 @@ data-poly="<%= stash('ajax_polyline') %>" % if ($next->{station}{arr_delay}) { %= sprintf('(%+d)', $next->{station}{arr_delay}) % } % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % } % elsif ($next->{type} eq 'next') { Nächster Halt: <strong><%= $next->{station}{name} %></strong> % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % } </div> % } </div> Loading
templates/_map_infobox.html.ep +18 −6 Original line number Diff line number Diff line Loading @@ -15,7 +15,9 @@ data-poly="<%= stash('ajax_polyline') %>" <div class="nextstop"> % if ($next->{type} eq 'present' and $next->{station}{dep} and $next->{station}{arr}) { Aufenthalt in <strong><%= $next->{station}{name} %></strong> % if ($next->{station}{platform}) { an Gleis <strong><%= $next->{station}{platform} %></strong> % } bis <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong> % if ($next->{station}{dep_delay}) { %= sprintf('(%+d)', $next->{station}{dep_delay}) Loading @@ -23,7 +25,9 @@ data-poly="<%= stash('ajax_polyline') %>" % } % elsif ($next->{type} eq 'present' and $next->{station}{dep}) { Abfahrt in <strong><%= $next->{station}{name} %></strong> % if ($next->{station}{platform}) { von Gleis <strong><%= $next->{station}{platform} %></strong> % } um <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong> % if ($next->{station}{dep_delay}) { %= sprintf('(%+d)', $next->{station}{dep_delay}) Loading @@ -32,7 +36,9 @@ data-poly="<%= stash('ajax_polyline') %>" % elsif ($next->{type} eq 'present' and $next->{station}{arr}) { Endstation erreicht um <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong> % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % if ($next->{station}{arr_delay}) { %= sprintf('(%+d)', $next->{station}{arr_delay}) % } Loading @@ -40,8 +46,10 @@ data-poly="<%= stash('ajax_polyline') %>" % elsif ($next->{type} eq 'present' and $next->{station}{arr}) { Zug steht in <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong> % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % } % elsif ($next->{type} eq 'next' and $next->{station}{arr}) { Nächster Halt: <strong><%= $next->{station}{name} %></strong> Loading @@ -49,13 +57,17 @@ data-poly="<%= stash('ajax_polyline') %>" % if ($next->{station}{arr_delay}) { %= sprintf('(%+d)', $next->{station}{arr_delay}) % } % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % } % elsif ($next->{type} eq 'next') { Nächster Halt: <strong><%= $next->{station}{name} %></strong> % if ($next->{station}{platform}) { auf Gleis <strong><%= $next->{station}{platform} %></strong> % } % } </div> % } </div>