diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-29 13:39:17 +0100 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-29 13:39:17 +0100 | 
| commit | 5fdaca63c15bb6ce72e06a5a725b9775c949dae4 (patch) | |
| tree | 4af49240e28fda2db87c5fff7fbb6ed2b9c977dc /lib | |
| parent | 2e7a6265a666b7e61ff21f5d8a05f54cf2ecefe3 (diff) | |
fix undelay color for non-terminating trains
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 6006a15..305035c 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1044,6 +1044,8 @@ sub station_train_details {  				arrival_is_cancelled   => $result->arrival_is_cancelled,  				moreinfo               => $moreinfo,  				delay                  => $result->delay, +				arrival_delay          => $result->arrival_delay, +				departure_delay        => $result->departure_delay,  				route_pre              => [ $result->route_pre ],  				route_post             => [ $result->route_post ],  				replaced_by            => [ @@ -1641,6 +1643,8 @@ sub handle_result {  						station          => $result->station,  						moreinfo         => $moreinfo,  						delay            => $delay, +						arrival_delay    => $result->arrival_delay, +						departure_delay  => $result->departure_delay,  						missing_realtime => (  							not $result->has_realtime  							  and $result->start < $now ? 1 : 0 | 
