summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-09-15 15:58:15 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-09-15 15:58:15 +0200
commitb8f00bcf98d4deb947514a524bbfcf3e337b0251 (patch)
tree1bee3ee5118da286401cda589cd2ff1437b5f935
parent5f7933cffb2c8695380b3f537dc97c2af2d627e5 (diff)
make 'missed connection' passengerrights message less confusing
-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>