From 25afe3f24f86c35e1002ebd517f2c65dc10b3bad Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 14 Dec 2024 11:47:19 +0100 Subject: always show scheduled arr/dep time --- templates/app.html.ep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/app.html.ep b/templates/app.html.ep index 6df6b17..9356e27 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -105,12 +105,12 @@ % } % if ($departure->{delay} and not $departure->{is_cancelled}) { -% if ($show_realtime) { +% if ($show_realtime and ($departure->{sched_arrival} or $departure->{sched_departure})) { % if ($departure->{delay} > ($hide_low_delay ? 4 : 0)) { - + % } % elsif ($departure->{delay} < 0) { - + % } % } % else { -- cgit v1.2.3