summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/clean.html.ep6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 329d89d..c013cd6 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -49,7 +49,11 @@
% }
</span>
% }
-<span class="dest">
+% my $extraclasses = q{};
+% if ($departure->{is_cancelled}) {
+% $extraclasses .= ' cancelled';
+% }
+<span class="dest <%= $extraclasses %>">
%= $departure->{destination}
</span>
<span class="countdown">