diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-02-17 21:13:07 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-02-17 21:13:07 +0100 |
commit | cc7439dd5e051904aa03e21a7a50bda106c43ae0 (patch) | |
tree | 8d0e84931ca4807ca53c61f38e6df7c5700b4433 /templates/departures.html.ep | |
parent | a1865fa69e3a90e484e8423e256e1cb969b7e04d (diff) |
handle departure cancellation after checkin
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r-- | templates/departures.html.ep | 7 |
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"> |