From 43c191fc9435a11f4349be86fe6844354f5bbca0 Mon Sep 17 00:00:00 2001
From: Birte Kristina Friesel
Alternative Reisemöglichkeiten:
- %= include '_connections', connections => \@connections, checkin_from => $journey->{dep_eva}; - % } diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 69754e3..f057a0a 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -221,18 +221,6 @@ % } - % if (@{stash('connections_iris') // [] } or @{stash('connections_hafas') // []}) { - Verbindungen - % if ($journey->{arrival_countdown} < 0) { -Fahrt auswählen zum Einchecken mit Zielwahl.
- % } - % if (@{stash('connections_iris') // [] }) { - %= include '_connections', connections => stash('connections_iris'), checkin_from => $journey->{arrival_countdown} < 0 ? $journey->{arr_eva} : undef; - % } - % if (@{stash('connections_hafas') // [] }) { - %= include '_connections_hafas', connections => stash('connections_hafas'), checkin_from => $journey->{arrival_countdown} < 0 ? $journey->{arr_eva} : undef; - % } - % } % if (defined $journey->{arrival_countdown} and $journey->{arrival_countdown} <= 0) {%= L('status.delayed-auto-checkout') diff --git a/templates/_checked_out.html.ep b/templates/_checked_out.html.ep index 21db335..fcac6f8 100644 --- a/templates/_checked_out.html.ep +++ b/templates/_checked_out.html.ep @@ -4,16 +4,6 @@
Aus %= include '_format_train', journey => $journey bis <%= $journey->{arr_name} %>
- % if (@{stash('connections_iris') // [] } or @{stash('connections_hafas') // []}) { - Verbindungen -Fahrt auswählen zum Einchecken mit Zielwahl.
- % if (@{stash('connections_iris') // [] }) { - %= include '_connections', connections => stash('connections_iris'), checkin_from => $journey->{arr_eva}; - % } - % if (@{stash('connections_hafas') // [] }) { - %= include '_connections_hafas', connections => stash('connections_hafas'), checkin_from => $journey->{arr_eva}; - % } - % }Häufig genutzte Verbindungen – Fahrt auswählen zum Einchecken mit Zielwahl
- % if (@{stash('connections_iris') // []}) { - %= include '_connections', connections => stash('connections_iris'), checkin_from => $eva; + % if ($dbris) { + %= include '_suggestions_dbris', suggestions => stash('suggestions'), checkin_from => $eva; % } - % if (@{stash('connections_hafas') // []}) { - %= include '_connections_hafas', connections => stash('connections_hafas'), checkin_from => $eva; + % elsif ($efa) { + %= include '_suggestions_efa', suggestions => stash('suggestions'), checkin_from => $eva; % } - % if (@{stash('suggestions') // []}) { - % if ($dbris) { - %= include '_suggestions_dbris', suggestions => stash('suggestions'), checkin_from => $eva; - % } - % elsif ($efa) { - %= include '_suggestions_efa', suggestions => stash('suggestions'), checkin_from => $eva; - % } + % else { + %= include '_suggestions_iris', suggestions => stash('suggestions'), checkin_from => $eva; % }