summaryrefslogtreecommitdiff
path: root/templates/infoscreen.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/infoscreen.html.ep')
-rw-r--r--templates/infoscreen.html.ep7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 9c244a0..1202dd7 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -33,9 +33,14 @@
% elsif ( $departure->{train_type} eq 'IC'
% or $departure->{train_type} eq 'ICE'
% or $departure->{train_type} eq 'EC'
-% or $departure->{train_type} eq 'THA' ) {
+% or $departure->{train_type} eq 'EN') {
% $linetype = 'fern';
% }
+% elsif ( $departure->{train_type} eq 'THA'
+% or $departure->{train_type} eq 'FLX'
+% or $departure->{train_type} eq 'NJ') {
+% $linetype = 'ext';
+% }
<div class="line <%= $linetype %>">
% if ($departure->{train_type} and $departure->{train_no}) {
%= $departure->{train_type}