summaryrefslogtreecommitdiff
path: root/templates/infoscreen.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-04 00:02:31 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-04 00:02:31 +0100
commit7e4727af603cdd8bbb3746842a9603054ddca7cb (patch)
tree352cfbbc06585a40b84b666c3fee65ec3c01e4db /templates/infoscreen.html.ep
parentea650826ceb481dd2c8495953bd9fa28efbb1b89 (diff)
Add color coding for trains not accepting DB tickets
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}