summaryrefslogtreecommitdiff
path: root/templates/_cancelled_departure.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_cancelled_departure.html.ep')
-rw-r--r--templates/_cancelled_departure.html.ep6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/_cancelled_departure.html.ep b/templates/_cancelled_departure.html.ep
index 220c49d..79492a5 100644
--- a/templates/_cancelled_departure.html.ep
+++ b/templates/_cancelled_departure.html.ep
@@ -2,12 +2,12 @@
<div class="card-content">
<span class="card-title">Zugausfall</span>
<p>Die Abfahrt von <%= $journey->{train_type} %> <%= $journey->{train_no} %>
- in <a href="/s/<%= $journey->{dep_ds100} %>"><%= $journey->{dep_name} %></a>
+ in <a href="/s/<%= $journey->{dep_eva} %>"><%= $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_iris') // []}) {
<p>Alternative Reisemöglichkeiten:</p>
- %= include '_connections', connections => \@connections, checkin_from => $journey->{dep_ds100};
+ %= include '_connections', connections => \@connections, checkin_from => $journey->{dep_eva};
% }
</div>
</div>