summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-12-27 11:11:52 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-12-27 11:11:52 +0100
commit65f35488428c82ec2b7fb8b9ccfce8d09380c216 (patch)
treecc55ec64243640f90be38204d06e16d896f2418f
parent84d27a4f403daa7af27aadaa415879e6fbf438aa (diff)
connection display: correctly annotate cancelled departures in preview
-rw-r--r--templates/_connections.html.ep2
-rw-r--r--templates/_connections_hafas.html.ep2
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) {