diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-09-18 20:21:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-09-18 20:21:16 +0200 |
commit | 1cb26e205374370809ba6e325e135f20acd69f23 (patch) | |
tree | 93789a46a105d058e134dca7b0b206ec0894fe86 /templates | |
parent | 8e6ee729e0a444f4aaf01d0535862c290bdde311 (diff) |
handle substitute connections in passenger rights form
Diffstat (limited to 'templates')
-rw-r--r-- | templates/passengerrights.html.ep | 6 |
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}) { |