departure board: more subtle cancellation highlight, use unified cancellation check for IRIS
This commit is contained in:
parent
78aef2996e
commit
f867abb865
2 changed files with 2 additions and 2 deletions
|
@ -23,4 +23,4 @@ $card-bg-color: color('grey', 'darken-4');
|
||||||
$card-link-color: $link-color;
|
$card-link-color: $link-color;
|
||||||
|
|
||||||
$departures-highlight-color: $table-striped-color;
|
$departures-highlight-color: $table-striped-color;
|
||||||
$departures-cancelled-color: color('red', 'darken-3');
|
$departures-cancelled-color: #702020;
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
%= $result->line
|
%= $result->line
|
||||||
</span>
|
</span>
|
||||||
<span class="dep-dest">
|
<span class="dep-dest">
|
||||||
% if ($result->is_cancelled) {
|
% if ($result->departure_is_cancelled) {
|
||||||
Fahrt nach <%= $result->destination %> entfällt
|
Fahrt nach <%= $result->destination %> entfällt
|
||||||
% }
|
% }
|
||||||
% else {
|
% else {
|
||||||
|
|
Loading…
Reference in a new issue