summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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">