summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-03-27 16:38:34 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-03-27 16:38:34 +0200
commit0f65ad29ac1525e64853881a7901a5f081b88ae9 (patch)
tree9448a2f0f57aec9315b0929462f13d082adba17e /templates/clean.html.ep
parentafb9ece81952570459c4757bf27693f71e0e3762 (diff)
Add special color for Fernverkehr (unusable with regional tickets)
Diffstat (limited to 'templates/clean.html.ep')
-rw-r--r--templates/clean.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index fb1463f..e8acb39 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -25,6 +25,11 @@
% if ( $departure->{train_type} eq 'S' ) {
% $linetype = 'sbahn';
% }
+% elsif ( $departure->{train_type} eq 'IC'
+% or $departure->{train_type} eq 'ICE'
+% or $departure->{train_type} eq 'EC' ) {
+% $linetype = 'fern';
+% }
<div class="line <%= $linetype %>">
% if ($departure->{train_type} and $departure->{train_no}) {
%= $departure->{train_type}