diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-11-01 20:37:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-11-01 20:37:32 +0100 |
commit | 4c206f01c7ac8a4211560f1d75b1ba9c8ef8b624 (patch) | |
tree | 48a890a7a8e590c617634accd29ca9251b3eff6f /index.pl | |
parent | 6a6d4e52ffb2bd53539a4ab6356619ee4560bbf9 (diff) |
clean template: mark cancelled departures with strike-through
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -247,14 +247,15 @@ sub handle_request { push( @departures, { - time => $result->time, - train => $result->train, - via => [ $result->route_interesting(3) ], - destination => $result->destination, - platform => $platform, - info => $info, - moreinfo => $moreinfo, - delay => $delay, + time => $result->time, + train => $result->train, + via => [ $result->route_interesting(3) ], + destination => $result->destination, + platform => $platform, + info => $info, + is_cancelled => $result->is_cancelled, + moreinfo => $moreinfo, + delay => $delay, } ); } |