diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-09 18:54:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-09 18:54:33 +0100 |
commit | 4a03b50ab2489ba3695b5ac6d72c94335b8112ec (patch) | |
tree | 4435f8da0f12d0427f877190ca81e8daba27546b /templates | |
parent | 0cbfcf55948c1ec953a39942b47a1b60a276d572 (diff) |
train details: link to eva
Diffstat (limited to 'templates')
-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 0484388..21f11a3 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -207,7 +207,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'), rt => param('rt')}) %>#<%= ($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')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } @@ -262,7 +262,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'), rt => param('rt')}) %>#<%= ($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')}) %>#<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>" class=" % if ($stop->{isAdditional}) { additional-stop % } |