From f867abb865460e0f3cc77e3c39eff4e311e46ffa Mon Sep 17 00:00:00 2001 From: Cassidy Dingenskirchen Date: Fri, 27 Oct 2023 07:33:10 +0200 Subject: departure board: more subtle cancellation highlight, use unified cancellation check for IRIS --- sass/src/dark/_variables.scss | 2 +- templates/_departures_iris.html.ep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sass/src/dark/_variables.scss b/sass/src/dark/_variables.scss index ba14a75..6665269 100644 --- a/sass/src/dark/_variables.scss +++ b/sass/src/dark/_variables.scss @@ -23,4 +23,4 @@ $card-bg-color: color('grey', 'darken-4'); $card-link-color: $link-color; $departures-highlight-color: $table-striped-color; -$departures-cancelled-color: color('red', 'darken-3'); +$departures-cancelled-color: #702020; diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep index d075008..56b5820 100644 --- a/templates/_departures_iris.html.ep +++ b/templates/_departures_iris.html.ep @@ -40,7 +40,7 @@ %= $result->line - % if ($result->is_cancelled) { + % if ($result->departure_is_cancelled) { Fahrt nach <%= $result->destination %> entfällt % } % else { -- cgit v1.2.3