diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-02-20 20:59:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-02-20 20:59:29 +0100 |
commit | 32a68b46f1fcc8b918f108a970d59ba4b9f55eee (patch) | |
tree | f96ff0c18821f0a65e18de492aaa3ee2da77124c /templates | |
parent | 0011e4a18d95e2ddd1e6561aec9fb63d71ed5bba (diff) |
add _cancelled_departure template
was missing from cc7439dd5e051904aa03e21a7a50bda106c43ae0
Diffstat (limited to 'templates')
-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..220c49d --- /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_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})) { + <p>Alternative Reisemöglichkeiten:</p> + %= include '_connections', connections => \@connections, checkin_from => $journey->{dep_ds100}; + % } + </div> +</div> |