summaryrefslogtreecommitdiff
path: root/templates/passengerrights.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-09-18 18:19:54 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-09-18 18:19:54 +0200
commit8e6ee729e0a444f4aaf01d0535862c290bdde311 (patch)
tree44605668aba8c1ea4ca7ef30df7e8becdb03c491 /templates/passengerrights.html.ep
parentaac8e2a0e1b870e9c40cecd15fd3d2fdfd484869 (diff)
passengerrights: improve support for cancelled trains
To do: also do so in form generation
Diffstat (limited to 'templates/passengerrights.html.ep')
-rw-r--r--templates/passengerrights.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/passengerrights.html.ep b/templates/passengerrights.html.ep
index 6444de2..c906319 100644
--- a/templates/passengerrights.html.ep
+++ b/templates/passengerrights.html.ep
@@ -43,6 +43,12 @@
<td>
% if ($journey->{cancelled}) {
Ausfall
+ % if ($journey->{has_substitute}) {
+ (Ersatzverbindung)
+ % }
+ % else {
+ ohne Ersatzverbindung
+ % }
% }
% elsif ($journey->{connection}) {
%= sprintf('%+d, ggf. Anschluss verpasst', $journey->{delay})