Loading lib/DBInfoscreen/Helper/HAFAS.pm +11 −0 Original line number Diff line number Diff line Loading @@ -381,6 +381,17 @@ sub get_route_timestamps_p { $ret->{$name}{rt_dep} = $ret->{$name}{sched_dep} ->clone->add( minutes => $delay->{ddelay} ); } if ( ( defined $delay->{adelay} and $delay->{adelay} eq q{} ) or ( defined $delay->{ddelay} and $delay->{ddelay} eq q{} ) ) { $ret->{$name}{rt_bogus} = 1; } } } Loading templates/_train_details.html.ep +10 −2 Original line number Diff line number Diff line Loading @@ -199,7 +199,11 @@ "><%= $stop->{sched_dep}->strftime('%H:%M') %> (heute <%= $stop->{rt_dep}->strftime('%H:%M') %>) <%= $stop->{name} %></a> % } % else { "><%= $stop->{sched_dep} ? $stop->{sched_dep}->strftime('%H:%M') : q{} %> <%= $stop->{name} %></a> "><%= $stop->{sched_dep} ? $stop->{sched_dep}->strftime('%H:%M') : q{} %> % if ($stop->{rt_bogus}) { <i class="material-icons" aria-label="Echtzeitdaten fehlen">gps_off</i> % } <%= $stop->{name} %></a> % } </li> % } Loading Loading @@ -237,7 +241,11 @@ "><%= $stop->{sched_arr}->strftime('%H:%M') %> (heute <%= $stop->{rt_arr}->strftime('%H:%M') %>) <%= $stop->{name} %></a> % } % else { "><%= $stop->{sched_arr} ? $stop->{sched_arr}->strftime('%H:%M') : q{} %> <%= $stop->{name} %></a> "><%= $stop->{sched_arr} ? $stop->{sched_arr}->strftime('%H:%M') : q{} %> % if ($stop->{rt_bogus}) { <i class="material-icons" aria-label="Echtzeitdaten fehlen">gps_off</i> % } <%= $stop->{name} %></a> % } </li> % } Loading Loading
lib/DBInfoscreen/Helper/HAFAS.pm +11 −0 Original line number Diff line number Diff line Loading @@ -381,6 +381,17 @@ sub get_route_timestamps_p { $ret->{$name}{rt_dep} = $ret->{$name}{sched_dep} ->clone->add( minutes => $delay->{ddelay} ); } if ( ( defined $delay->{adelay} and $delay->{adelay} eq q{} ) or ( defined $delay->{ddelay} and $delay->{ddelay} eq q{} ) ) { $ret->{$name}{rt_bogus} = 1; } } } Loading
templates/_train_details.html.ep +10 −2 Original line number Diff line number Diff line Loading @@ -199,7 +199,11 @@ "><%= $stop->{sched_dep}->strftime('%H:%M') %> (heute <%= $stop->{rt_dep}->strftime('%H:%M') %>) <%= $stop->{name} %></a> % } % else { "><%= $stop->{sched_dep} ? $stop->{sched_dep}->strftime('%H:%M') : q{} %> <%= $stop->{name} %></a> "><%= $stop->{sched_dep} ? $stop->{sched_dep}->strftime('%H:%M') : q{} %> % if ($stop->{rt_bogus}) { <i class="material-icons" aria-label="Echtzeitdaten fehlen">gps_off</i> % } <%= $stop->{name} %></a> % } </li> % } Loading Loading @@ -237,7 +241,11 @@ "><%= $stop->{sched_arr}->strftime('%H:%M') %> (heute <%= $stop->{rt_arr}->strftime('%H:%M') %>) <%= $stop->{name} %></a> % } % else { "><%= $stop->{sched_arr} ? $stop->{sched_arr}->strftime('%H:%M') : q{} %> <%= $stop->{name} %></a> "><%= $stop->{sched_arr} ? $stop->{sched_arr}->strftime('%H:%M') : q{} %> % if ($stop->{rt_bogus}) { <i class="material-icons" aria-label="Echtzeitdaten fehlen">gps_off</i> % } <%= $stop->{name} %></a> % } </li> % } Loading