Loading lib/DBInfoscreen/Controller/Stationboard.pm +10 −9 Original line number Diff line number Diff line Loading @@ -1107,7 +1107,8 @@ sub handle_result { my $template = $self->param('mode') // 'app'; my $hide_low_delay = $self->param('hidelowdelay') // 0; my $hide_opts = $self->param('hide_opts') // 0; my $show_realtime = $self->param('show_realtime') // 0; my $show_realtime = $self->param('rt') // $self->param('show_realtime') // 0; my $show_details = $self->param('detailed') // 0; my $admode = $self->param('admode') // 'deparr'; my $apiver = $self->param('version') // 0; Loading public/static/js/collapse.js +2 −2 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ function dbf_reg_handlers() { if (window.location.href.includes('past=1')) { suffix += '&past=1'; } if (window.location.href.includes('show_realtime=1')) { suffix += '&show_realtime=1'; if (window.location.href.includes('rt=1') || window.location.href.includes('show_realtime=1')) { suffix += '&rt=1'; } history.pushState({'page':'traindetail','station':station,'train':trainElem.data('no')}, 'test', '/z/' + trainElem.data('train') + '/' + trainElem.data('station') + suffix); dbf_show_moreinfo(trainElem, false); Loading templates/_train_details.html.ep +2 −2 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ <ul class="mroute"> % for my $stop (@{$departure->{route_pre_diff}}) { <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), show_realtime => param('show_realtime')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading Loading @@ -240,7 +240,7 @@ % } % for my $stop (@{$departure->{route_post_diff}}) { <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), show_realtime => param('show_realtime')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading templates/layouts/app.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ Bitte eine Station aus der Liste auswählen</div> <div class="moresettings moresettings-collapsed"> <div class="field"> <div class="desc"> %= check_box 'show_realtime' => 1, id => 'id_show_realtime' %= check_box 'rt' => 1, id => 'id_show_realtime' <label for="id_show_realtime"> Zeiten inkl. Verspätung angeben </label> Loading templates/layouts/legacy.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ Bitte eine Station aus der Liste auswählen</div> </div> <div class="field"> <div class="desc"> %= check_box 'show_realtime' => 1, id => 'id_show_realtime' %= check_box 'rt' => 1, id => 'id_show_realtime' <label for="id_show_realtime"> Echtzeitangaben statt Fahrplandaten anzeigen </label> Loading Loading
lib/DBInfoscreen/Controller/Stationboard.pm +10 −9 Original line number Diff line number Diff line Loading @@ -1107,7 +1107,8 @@ sub handle_result { my $template = $self->param('mode') // 'app'; my $hide_low_delay = $self->param('hidelowdelay') // 0; my $hide_opts = $self->param('hide_opts') // 0; my $show_realtime = $self->param('show_realtime') // 0; my $show_realtime = $self->param('rt') // $self->param('show_realtime') // 0; my $show_details = $self->param('detailed') // 0; my $admode = $self->param('admode') // 'deparr'; my $apiver = $self->param('version') // 0; Loading
public/static/js/collapse.js +2 −2 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ function dbf_reg_handlers() { if (window.location.href.includes('past=1')) { suffix += '&past=1'; } if (window.location.href.includes('show_realtime=1')) { suffix += '&show_realtime=1'; if (window.location.href.includes('rt=1') || window.location.href.includes('show_realtime=1')) { suffix += '&rt=1'; } history.pushState({'page':'traindetail','station':station,'train':trainElem.data('no')}, 'test', '/z/' + trainElem.data('train') + '/' + trainElem.data('station') + suffix); dbf_show_moreinfo(trainElem, false); Loading
templates/_train_details.html.ep +2 −2 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ <ul class="mroute"> % for my $stop (@{$departure->{route_pre_diff}}) { <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), show_realtime => param('show_realtime')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading Loading @@ -240,7 +240,7 @@ % } % for my $stop (@{$departure->{route_post_diff}}) { <li class="<%= $stop->{isPast} ? 'past-stop' : 'future-stop' %>"> <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), show_realtime => param('show_realtime')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed'), past => param('past'), rt => param('rt')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } Loading
templates/layouts/app.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ Bitte eine Station aus der Liste auswählen</div> <div class="moresettings moresettings-collapsed"> <div class="field"> <div class="desc"> %= check_box 'show_realtime' => 1, id => 'id_show_realtime' %= check_box 'rt' => 1, id => 'id_show_realtime' <label for="id_show_realtime"> Zeiten inkl. Verspätung angeben </label> Loading
templates/layouts/legacy.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ Bitte eine Station aus der Liste auswählen</div> </div> <div class="field"> <div class="desc"> %= check_box 'show_realtime' => 1, id => 'id_show_realtime' %= check_box 'rt' => 1, id => 'id_show_realtime' <label for="id_show_realtime"> Echtzeitangaben statt Fahrplandaten anzeigen </label> Loading