summaryrefslogtreecommitdiff
path: root/templates/passengerrights.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-09-18 20:21:16 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-09-18 20:21:16 +0200
commit1cb26e205374370809ba6e325e135f20acd69f23 (patch)
tree93789a46a105d058e134dca7b0b206ec0894fe86 /templates/passengerrights.html.ep
parent8e6ee729e0a444f4aaf01d0535862c290bdde311 (diff)
handle substitute connections in passenger rights form
Diffstat (limited to 'templates/passengerrights.html.ep')
-rw-r--r--templates/passengerrights.html.ep6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/passengerrights.html.ep b/templates/passengerrights.html.ep
index c906319..3d5d21d 100644
--- a/templates/passengerrights.html.ep
+++ b/templates/passengerrights.html.ep
@@ -42,12 +42,12 @@
</a></td>
<td>
% if ($journey->{cancelled}) {
- Ausfall
% if ($journey->{has_substitute}) {
- (Ersatzverbindung)
+ Ausfall, Ersatzverbindung
+ %= sprintf('%+d', $journey->{substitute_delay})
% }
% else {
- ohne Ersatzverbindung
+ Ausfall ohne Ersatzverbindung
% }
% }
% elsif ($journey->{connection}) {