diff options
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r-- | templates/app.html.ep | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep index 80e17d2..8c7d079 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -33,9 +33,15 @@ % 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} |