summaryrefslogtreecommitdiff
path: root/templates/_public_status_card.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-02-13 18:35:42 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-02-13 18:35:42 +0100
commit6cbbc2b16f059a0d2b1f65a371e3c1e1f4c11fde (patch)
treee98ae1650d2969c7f2d15ca07ed1ed1be23d9d36 /templates/_public_status_card.html.ep
parenta830acc69877e204e5136e0862959164691683ca (diff)
avoid stale data when marking cancelled arrivals1.14.9
Diffstat (limited to 'templates/_public_status_card.html.ep')
-rw-r--r--templates/_public_status_card.html.ep7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 6979ad7..810c4b8 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -125,6 +125,13 @@
% }
</div>
</p>
+ % if ($journey->{extra_data}{cancelled_destination}) {
+ <p style="margin-bottom: 2ex;">
+ <i class="material-icons tiny" aria-hidden="true">error</i>
+ Der Halt an der Zielstation <b><%=
+ $journey->{extra_data}{cancelled_destination} %></b> entfällt.
+ </p>
+ % }
% if (@{$journey->{messages} // []} > 0 and $journey->{messages}[0]) {
<p style="margin-bottom: 2ex;">
<ul>