summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-03-29 13:39:17 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-03-29 13:39:17 +0100
commit5fdaca63c15bb6ce72e06a5a725b9775c949dae4 (patch)
tree4af49240e28fda2db87c5fff7fbb6ed2b9c977dc /templates/_train_details.html.ep
parent2e7a6265a666b7e61ff21f5d8a05f54cf2ecefe3 (diff)
fix undelay color for non-terminating trains
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index d5325c5..3432c30 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -27,7 +27,7 @@
% }
% elsif ($departure->{arrival}) {
% if ($departure->{arrival} ne $departure->{sched_arrival}) {
- % if (($departure->{delay} // 0) < 0) {
+ % if (($departure->{arrival_delay} // 0) < 0) {
An: <span class="undelay"><%= $departure->{arrival} %></span>
% }
% else {