From cd4e1246ca33b7f0056be36a640bc2a7340a6667 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Jan 2020 18:28:53 +0100 Subject: show planned IC/ICE type in detail view --- lib/DBInfoscreen/Controller/Stationboard.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/DBInfoscreen/Controller') diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 60caf8d..9f0bd31 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1258,7 +1258,8 @@ sub handle_request { '_train_details', departure => $departure, linetype => $linetype, - dt_now => DateTime->now( time_zone => 'Europe/Berlin' ), + icetype => $self->app->ice_type_map->{ $departure->{train_no} }, + dt_now => DateTime->now( time_zone => 'Europe/Berlin' ), ); } else { -- cgit v1.2.3