diff options
author | Cassidy Dingenskirchen <admin@15318.de> | 2023-10-27 07:33:10 +0200 |
---|---|---|
committer | Cassidy Dingenskirchen <admin@15318.de> | 2023-10-27 07:33:10 +0200 |
commit | f867abb865460e0f3cc77e3c39eff4e311e46ffa (patch) | |
tree | 4be96ba4c4fa7e85d3a2060f20c66cee986139fe | |
parent | 78aef2996ed843ff7e2fd39aa60245e359fb94f2 (diff) |
departure board: more subtle cancellation highlight, use unified cancellation check for IRIS
-rw-r--r-- | sass/src/dark/_variables.scss | 2 | ||||
-rw-r--r-- | 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 </span> <span class="dep-dest"> - % if ($result->is_cancelled) { + % if ($result->departure_is_cancelled) { Fahrt nach <%= $result->destination %> entfällt % } % else { |