diff options
Diffstat (limited to 'templates/_cancelled_departure.html.ep')
-rw-r--r-- | templates/_cancelled_departure.html.ep | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/_cancelled_departure.html.ep b/templates/_cancelled_departure.html.ep new file mode 100644 index 0000000..79492a5 --- /dev/null +++ b/templates/_cancelled_departure.html.ep @@ -0,0 +1,13 @@ +<div class="card"> + <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_eva} %>"><%= $journey->{dep_name} %></a> + entfällt. Der Zugausfall auf der Fahrt nach <%= $journey->{arr_name} %> wurde bereits dokumentiert. + </p> + % if (my @connections = @{stash('connections_iris') // []}) { + <p>Alternative Reisemöglichkeiten:</p> + %= include '_connections', connections => \@connections, checkin_from => $journey->{dep_eva}; + % } + </div> +</div> |