diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-25 21:55:11 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-25 21:55:11 +0100 |
commit | 698aae7e0f8ba86ea1a3562863c65915dde36028 (patch) | |
tree | d51e4cc294b58d0deaff1d25ee336a3b21233d7a /templates/_train_details.html.ep | |
parent | de9ea41ca265860947e6df94ab6b4934331876bc (diff) |
also show exit direction in wagon view
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 138c877..77a61ba 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -113,7 +113,7 @@ <a class="smallbutton" href="/map/<%= $departure->{trip_id} %>/<%= $departure->{train_line} // 0 %>?from=<%= $station_name %>"><i class="material-icons" aria-hidden="true">map</i> Karte</a> % } % if ($departure->{wr_link}) { - <a class="smallbutton" href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>"><i class="material-icons" aria-hidden="true">train</i> Wagenreihung + <a class="smallbutton" href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>?e=<%= $departure->{direction} // '' %>"><i class="material-icons" aria-hidden="true">train</i> Wagenreihung </a> % } % elsif ($icetype and $icetype->[2] and ($linetype eq 'fern' or $departure->{train_type} =~ m{NJ})) { |