summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/passengerrights.html.ep5
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>