diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-09-14 12:32:28 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-09-14 12:32:28 +0200 |
commit | 5f7933cffb2c8695380b3f537dc97c2af2d627e5 (patch) | |
tree | 0fd8c25515960d412d242c7dd1a96aadaf78ff9b /templates/passengerrights.html.ep | |
parent | a9850d073e5d2380deb9c69bdfbdd29e1a6fba12 (diff) |
pasengerrights: link to both journeys on connection miss1.9.2
Diffstat (limited to 'templates/passengerrights.html.ep')
-rw-r--r-- | templates/passengerrights.html.ep | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/passengerrights.html.ep b/templates/passengerrights.html.ep index 09c50d9..a86269a 100644 --- a/templates/passengerrights.html.ep +++ b/templates/passengerrights.html.ep @@ -34,7 +34,8 @@ <%= $journey->{type} %> <%= $journey->{line} // $journey->{no} %> → <%= $journey->{to_name} %> % if ($journey->{connection}) { - <br/> + % $detail_link = '/journey/' . $journey->{connection}{id}; + </a><br/><a href="<%= $detail_link %>"> <%= $journey->{connection}{type} %> <%= $journey->{connection}{line} // $journey->{connection}{no} %> → <%= $journey->{connection}{to_name} %> % } @@ -47,7 +48,7 @@ %= sprintf('%+d', $journey->{delay}) % if ($journey->{connection}) { <br/> - %= sprintf('Mit Anschluss: %+d?', $journey->{possible_delay}) + %= sprintf('Anschluss? → %+d', $journey->{possible_delay}) % } % } </td> |