summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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}