From 9b6efdb7df4a93b9d40b567053830c9194c0d473 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 20 May 2015 14:11:46 +0200 Subject: do not strike through cancelled trains, mark them yellow-ish instead --- templates/clean.html.ep | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/clean.html.ep b/templates/clean.html.ep index 8ee8173..0bbdf54 100644 --- a/templates/clean.html.ep +++ b/templates/clean.html.ep @@ -16,13 +16,16 @@ % my $extraclasses = q{}; % if ($departure->{is_cancelled}) { % $extraclasses .= ' cancelled'; +
  • +% } +% else { +
  • % } -
  • % my $linetype = q{}; % if ( $departure->{train_type} eq 'S' ) { % $linetype = 'sbahn'; % } - + % if ($departure->{train_type} and $departure->{train_no}) { %= $departure->{train_type} % } @@ -143,7 +146,7 @@ %= $departure->{destination} - + % if ($departure->{delay} and not $departure->{is_cancelled}) { % if ($show_realtime) { % if ($departure->{delay} > 0) { -- cgit v1.2.3