connection display: correctly annotate cancelled departures in preview
This commit is contained in:
parent
84d27a4f40
commit
65f3548842
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
data-dest="<%= $via->{name} %>">
|
data-dest="<%= $via->{name} %>">
|
||||||
% }
|
% }
|
||||||
% else {
|
% else {
|
||||||
<li class="collection-item">
|
<li class="collection-item <%= $row_class %>">
|
||||||
% }
|
% }
|
||||||
<a class="dep-time" href="#">
|
<a class="dep-time" href="#">
|
||||||
% if ($train->departure_is_cancelled) {
|
% if ($train->departure_is_cancelled) {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
data-dest="<%= $via->{name} %>">
|
data-dest="<%= $via->{name} %>">
|
||||||
% }
|
% }
|
||||||
% else {
|
% else {
|
||||||
<li class="collection-item">
|
<li class="collection-item <%= $row_class %>">
|
||||||
% }
|
% }
|
||||||
<a class="dep-time" href="#">
|
<a class="dep-time" href="#">
|
||||||
% if ($train->is_cancelled) {
|
% if ($train->is_cancelled) {
|
||||||
|
|
Loading…
Reference in a new issue