diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-06-09 13:31:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-06-09 13:31:35 +0200 |
commit | 5686110134e0fa5afbef038f2f46db7983c4bc4b (patch) | |
tree | fb87347c2443086b0134b89e11a40aea7668517d /lib | |
parent | 998d144c9aa0ff64bd2a30e9b7220e75000027cb (diff) |
Correctly color ECE and TGV trains in detail view2.3.3
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 015a000..862ba12 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1088,11 +1088,13 @@ sub handle_request { elsif ($departure->{train_type} eq 'IC' or $departure->{train_type} eq 'ICE' or $departure->{train_type} eq 'EC' + or $departure->{train_type} eq 'ECE' or $departure->{train_type} eq 'EN' ) { $linetype = 'fern'; } elsif ($departure->{train_type} eq 'THA' + or $departure->{train_type} eq 'TGV' or $departure->{train_type} eq 'FLX' or $departure->{train_type} eq 'NJ' ) { |