From cc7439dd5e051904aa03e21a7a50bda106c43ae0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 17 Feb 2020 21:13:07 +0100 Subject: handle departure cancellation after checkin --- templates/departures.html.ep | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates') diff --git a/templates/departures.html.ep b/templates/departures.html.ep index ae0dd2d..706a441 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -26,6 +26,13 @@ % } +% elsif ($status->{cancellation} and $station eq $status->{cancellation}{dep_name}) { +
+
+ %= include '_cancelled_departure', journey => $status->{cancellation}; +
+
+% } % elsif ($status->{timestamp_delta} < 180) {
-- cgit v1.2.3