connection display: correctly annotate cancelled departures in preview

This commit is contained in:
Birte Kristina Friesel 2023-12-27 11:11:52 +01:00
parent 84d27a4f40
commit 65f3548842
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
data-dest="<%= $via->{name} %>">
% }
% else {
<li class="collection-item">
<li class="collection-item <%= $row_class %>">
% }
<a class="dep-time" href="#">
% if ($train->departure_is_cancelled) {

View file

@ -16,7 +16,7 @@
data-dest="<%= $via->{name} %>">
% }
% else {
<li class="collection-item">
<li class="collection-item <%= $row_class %>">
% }
<a class="dep-time" href="#">
% if ($train->is_cancelled) {