diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-07-17 13:32:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-07-17 13:32:40 +0200 |
commit | f923c6dacf950143e34c3f69ffee8694156d8421 (patch) | |
tree | ce3453975dbad672a7e503bc4b07d91cf8b78bee /templates/_train_details.html.ep | |
parent | 2cccc8c913564f9baa14206e6274bd2367c0ee4a (diff) |
do not lose show_realtime setting in detail views4.10.1
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index a996128..121f46d 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -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')}) %>#<%= ($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'), show_realtime => param('show_realtime')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } @@ -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')}) %>#<%= ($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'), show_realtime => param('show_realtime')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } |