diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-27 11:11:52 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-27 11:11:52 +0100 |
commit | 65f35488428c82ec2b7fb8b9ccfce8d09380c216 (patch) | |
tree | cc55ec64243640f90be38204d06e16d896f2418f /templates | |
parent | 84d27a4f403daa7af27aadaa415879e6fbf438aa (diff) |
connection display: correctly annotate cancelled departures in preview
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_connections.html.ep | 2 | ||||
-rw-r--r-- | templates/_connections_hafas.html.ep | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index 97c53e0..1dd2718 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -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) { diff --git a/templates/_connections_hafas.html.ep b/templates/_connections_hafas.html.ep index d2b35ce..dcf7ec9 100644 --- a/templates/_connections_hafas.html.ep +++ b/templates/_connections_hafas.html.ep @@ -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) { |