From 40961f53fd0168f6aef52e3968851f97b7248d4e Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 9 Sep 2023 09:50:41 +0200 Subject: hafas departures: show no-realtime indicator --- templates/_departures_hafas.html.ep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep index b737c05..ef5585a 100644 --- a/templates/_departures_hafas.html.ep +++ b/templates/_departures_hafas.html.ep @@ -37,6 +37,9 @@ % if ($result->delay) { (<%= sprintf('%+d', $result->delay) %>) % } + % elsif (not defined $result->delay and not $result->is_cancelled) { + gps_off + % } % } -- cgit v1.2.3