summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-02-17 21:13:07 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-02-17 21:13:07 +0100
commitcc7439dd5e051904aa03e21a7a50bda106c43ae0 (patch)
tree8d0e84931ca4807ca53c61f38e6df7c5700b4433 /templates
parenta1865fa69e3a90e484e8423e256e1cb969b7e04d (diff)
handle departure cancellation after checkin
Diffstat (limited to 'templates')
-rw-r--r--templates/departures.html.ep7
1 files changed, 7 insertions, 0 deletions
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 @@
</div>
</div>
% }
+% elsif ($status->{cancellation} and $station eq $status->{cancellation}{dep_name}) {
+ <div class="row">
+ <div class="col s12">
+ %= include '_cancelled_departure', journey => $status->{cancellation};
+ </div>
+ </div>
+% }
% elsif ($status->{timestamp_delta} < 180) {
<div class="row">
<div class="col s12">