Loading lib/DBInfoscreen/Controller/Stationboard.pm +3 −2 Original line number Diff line number Diff line Loading @@ -1556,6 +1556,7 @@ sub handle_efa { ( $delay and $delay > 0 and $delay < 5 ? 1 : 0 ), is_delayed => ( $delay and $delay >= 5 ? 1 : 0 ), occupancy => $result->occupancy, station => $efa->stop->id, replaced_by => [], replacement_for => [], route_pre => [ map { $_->full_name } $result->route_pre ], Loading @@ -1569,9 +1570,9 @@ sub handle_efa { $template, description => "Abfahrtstafel $station_name", departures => \@departures, station => $station_name, station => $efa->stop->name,, version => $self->config->{version}, title => $station_name, title => $efa->stop->name // $station_name, refresh_interval => $template eq 'app' ? 0 : 120, hide_opts => $hide_opts, hide_low_delay => $hide_low_delay, Loading templates/_train_details.html.ep +2 −2 Original line number Diff line number Diff line Loading @@ -252,7 +252,7 @@ </li> % } <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), efa => param('efa'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading Loading @@ -347,7 +347,7 @@ </li> % } <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), efa => param('efa'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading Loading
lib/DBInfoscreen/Controller/Stationboard.pm +3 −2 Original line number Diff line number Diff line Loading @@ -1556,6 +1556,7 @@ sub handle_efa { ( $delay and $delay > 0 and $delay < 5 ? 1 : 0 ), is_delayed => ( $delay and $delay >= 5 ? 1 : 0 ), occupancy => $result->occupancy, station => $efa->stop->id, replaced_by => [], replacement_for => [], route_pre => [ map { $_->full_name } $result->route_pre ], Loading @@ -1569,9 +1570,9 @@ sub handle_efa { $template, description => "Abfahrtstafel $station_name", departures => \@departures, station => $station_name, station => $efa->stop->name,, version => $self->config->{version}, title => $station_name, title => $efa->stop->name // $station_name, refresh_interval => $template eq 'app' ? 0 : 120, hide_opts => $hide_opts, hide_low_delay => $hide_low_delay, Loading
templates/_train_details.html.ep +2 −2 Original line number Diff line number Diff line Loading @@ -252,7 +252,7 @@ </li> % } <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), efa => param('efa'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading Loading @@ -347,7 +347,7 @@ </li> % } <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{eva} // $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt'), efa => param('efa'), hafas => param('hafas')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading