From 0f65ad29ac1525e64853881a7901a5f081b88ae9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 27 Mar 2016 16:38:34 +0200 Subject: Add special color for Fernverkehr (unusable with regional tickets) --- templates/clean.html.ep | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates') 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 @@ -24,6 +24,11 @@ % my $linetype = 'bahn'; % 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'; % }
% if ($departure->{train_type} and $departure->{train_no}) { -- cgit v1.2.3