From 5fdaca63c15bb6ce72e06a5a725b9775c949dae4 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 29 Mar 2024 13:39:17 +0100 Subject: fix undelay color for non-terminating trains --- templates/_train_details.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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: <%= $departure->{arrival} %> % } % else { -- cgit v1.2.3