diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-20 23:39:08 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-20 23:39:08 +0100 |
commit | 1a6c3ad4ee00a22c684a4142784fc5e2d1a2bc26 (patch) | |
tree | 44cc28c5f67282435955431fedcfd1b8351c2a21 | |
parent | 5a41f843f1d7f57237938712ac08cf5b94450749 (diff) |
_train_details: forward query parameters to linked departure boards
-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 55daae3..4b85845 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -169,7 +169,7 @@ <ul class="mroute"> % for my $stop (@{$departure->{route_pre_diff}}) { <li> - <a href="/<%= $stop->{name} %>#<%= $departure->{train_type} . $departure->{train_no} %>" class=" + <a href="<%= url_with('station', station => $stop->{name}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } @@ -205,7 +205,7 @@ </li> % for my $stop (@{$departure->{route_post_diff}}) { <li> - <a href="/<%= $stop->{name} %>#<%= $departure->{train_type} . $departure->{train_no} %>" class=" + <a href="<%= url_with('station', station => $stop->{name}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } |