From 6cbbc2b16f059a0d2b1f65a371e3c1e1f4c11fde Mon Sep 17 00:00:00 2001
From: Daniel Friesel
Date: Thu, 13 Feb 2020 18:35:42 +0100
Subject: avoid stale data when marking cancelled arrivals
---
templates/_public_status_card.html.ep | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'templates/_public_status_card.html.ep')
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 @@
% }
+ % if ($journey->{extra_data}{cancelled_destination}) {
+
+ error
+ Der Halt an der Zielstation <%=
+ $journey->{extra_data}{cancelled_destination} %> entfällt.
+
+ % }
% if (@{$journey->{messages} // []} > 0 and $journey->{messages}[0]) {