From 1cb26e205374370809ba6e325e135f20acd69f23 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 18 Sep 2019 20:21:16 +0200 Subject: handle substitute connections in passenger rights form --- templates/passengerrights.html.ep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') 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 @@ % 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}) { -- cgit v1.2.3