summaryrefslogtreecommitdiff
path: root/templates/_cancelled_departure.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-07-26 14:51:57 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-07-26 14:51:57 +0200
commit960de27f0eca0fcb2549c8271a384230c4a6b06f (patch)
tree43514cc0c80092b28439c6e7039b8968cf131a33 /templates/_cancelled_departure.html.ep
parent35338125bcf5c503ec57b857ed2d11c547eca4ab (diff)
move get_connecting_trains out of _cancelled_departure template
Diffstat (limited to 'templates/_cancelled_departure.html.ep')
-rw-r--r--templates/_cancelled_departure.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_cancelled_departure.html.ep b/templates/_cancelled_departure.html.ep
index 220c49d..1d5c76a 100644
--- a/templates/_cancelled_departure.html.ep
+++ b/templates/_cancelled_departure.html.ep
@@ -5,7 +5,7 @@
in <a href="/s/<%= $journey->{dep_ds100} %>"><%= $journey->{dep_name} %></a>
entfällt. Der Zugausfall auf der Fahrt nach <%= $journey->{arr_name} %> wurde bereits dokumentiert.
</p>
- % if (my @connections = get_connecting_trains(eva => $journey->{dep_eva}, destination_name => $journey->{arr_name})) {
+ % if (my @connections = @{stash('connections') // []}) {
<p>Alternative Reisemöglichkeiten:</p>
%= include '_connections', connections => \@connections, checkin_from => $journey->{dep_ds100};
% }