summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-03 13:45:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-10-03 13:45:32 +0200
commit9eee6acb5fae593c2789be0576cfc8aff95263c9 (patch)
tree49f556892d6d1eeb88e48f5ae52981bc4c0156ec /index.pl
parent3ef3ead013d5fa26b5fffaec253f2eb6255815bd (diff)
add platform data to infoscreen detail view1.00
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl15
1 files changed, 8 insertions, 7 deletions
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 => {