summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-06-02 09:33:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-06-02 09:33:30 +0200
commitb3e1324c3961ac92782f8da00fe3b8ba573f4afa (patch)
tree8409114d96099efe4dcd01d3c4e704f4a9574dd6 /templates
parent15e1bf361b2bf11dcbf29ebe58cffa1ed3203818 (diff)
Add colors for ECE and TGV trains2.2.1
Diffstat (limited to 'templates')
-rw-r--r--templates/app.html.ep2
-rw-r--r--templates/infoscreen.html.ep2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 79a462a..47f2b32 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -41,10 +41,12 @@
% 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') {
% $linetype = 'ext';
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 0e22b4a..8b1dd5c 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -33,10 +33,12 @@
% 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') {
% $linetype = 'ext';