summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-02-12 20:38:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-02-12 20:38:24 +0100
commita830acc69877e204e5136e0862959164691683ca (patch)
treee23d6b34ecd19529329323f36a0b0965aaa24c1c /templates
parentee38d48a555e0c9a8ccb4ca06d69566198f42714 (diff)
Handle cancelled arrival at checkout when departure at checkin is not cancelled
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 193657f..4edb1a6 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -163,6 +163,13 @@
</div>
</p>
% }
+ % if ($journey->{extra_data}{cancelled_destination}) {
+ <p style="margin-bottom: 2ex;">
+ Der Halt in <b><%= $journey->{extra_data}{cancelled_destination} %></b>
+ entfällt. Der Zugausfall wurde bereits vermerkt. Bitte wähle ein
+ neues Reiseziel.
+ </p>
+ % }
% if (@{$journey->{messages} // []} or @{$journey->{extra_data}{qos_msg} // []}) {
<p style="margin-bottom: 2ex;">
<ul>