departure board: more subtle cancellation highlight, use unified cancellation check for IRIS

This commit is contained in:
Cassidy Dingenskirchen 2023-10-27 07:33:10 +02:00
parent 78aef2996e
commit f867abb865
No known key found for this signature in database
GPG key ID: 14FE9712CC42FE8B
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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 {