From 9eee6acb5fae593c2789be0576cfc8aff95263c9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 3 Oct 2015 13:45:32 +0200 Subject: add platform data to infoscreen detail view --- index.pl | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'index.pl') diff --git a/index.pl b/index.pl index fb01343..9d2c142 100644 --- a/index.pl +++ b/index.pl @@ -663,13 +663,14 @@ sub handle_request { push( @departures, { - time => $time, - train => $result->train, - train_type => $result->type, - destination => $result->destination, - platform => $platform, - info => $info, - is_cancelled => $result->can('is_cancelled') + time => $time, + train => $result->train, + train_type => $result->type, + destination => $result->destination, + platform => $platform, + changed_platform => $result->is_changed_platform, + info => $info, + is_cancelled => $result->can('is_cancelled') ? $result->is_cancelled : undef, messages => { -- cgit v1.2.3