summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Stationboard.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-20 19:10:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-20 19:10:15 +0100
commit5a41f843f1d7f57237938712ac08cf5b94450749 (patch)
tree8b045748807bc88ac96a5bf990dca331db8156c1 /lib/DBInfoscreen/Controller/Stationboard.pm
parent2016a340657bf477ac85a344b8d8a8f8f7563663 (diff)
show zugbildung (if available); show scheduled wagon order for nightjets too3.8.0
Diffstat (limited to 'lib/DBInfoscreen/Controller/Stationboard.pm')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 752b099..b168b6b 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -673,7 +673,9 @@ sub render_train {
departure => $departure,
linetype => $linetype,
icetype => $self->app->ice_type_map->{ $departure->{train_no} },
- dt_now => DateTime->now( time_zone => 'Europe/Berlin' ),
+ details =>
+ $self->app->train_details_db->{ $departure->{train_no} },
+ dt_now => DateTime->now( time_zone => 'Europe/Berlin' ),
station_name => $station_name,
nav_link => '/' . $station_name,
);