summaryrefslogtreecommitdiff
path: root/templates/passengerrights.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/passengerrights.html.ep')
-rw-r--r--templates/passengerrights.html.ep7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/passengerrights.html.ep b/templates/passengerrights.html.ep
index a86269a..6444de2 100644
--- a/templates/passengerrights.html.ep
+++ b/templates/passengerrights.html.ep
@@ -44,12 +44,11 @@
% if ($journey->{cancelled}) {
Ausfall
% }
+ % elsif ($journey->{connection}) {
+ %= sprintf('%+d, ggf. Anschluss verpasst', $journey->{delay})
+ % }
% else {
%= sprintf('%+d', $journey->{delay})
- % if ($journey->{connection}) {
- <br/>
- %= sprintf('Anschluss? → %+d', $journey->{possible_delay})
- % }
% }
</td>
<td>