diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-03-21 08:44:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-03-21 08:44:32 +0100 |
commit | 7f180555b22d2162ba26d62c93491f496211e537 (patch) | |
tree | 393ccaef7f481de03a5c7f3b76bd51594357a886 /templates/_train_details.html.ep | |
parent | 234486663dbe1712c10888121d9bf38c4cbd2cc8 (diff) |
stationboard: add anchors to individual trains
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 9aa39ac..3f03869 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -176,7 +176,7 @@ <ul class="mroute"> % for my $stop (@{$departure->{route_pre_diff}}) { <li> - <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>" class=" + <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } @@ -214,7 +214,7 @@ % } % for my $stop (@{$departure->{route_post_diff}}) { <li> - <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>" class=" + <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } |