diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-09-09 09:50:41 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-09-09 09:50:41 +0200 |
commit | 40961f53fd0168f6aef52e3968851f97b7248d4e (patch) | |
tree | 46b1bc6ac408fdd866022ca4cfc7a12aeabaa5d2 /templates/_departures_hafas.html.ep | |
parent | 2e14c2e3e4dafa976cecab2721682553d90eb01e (diff) |
hafas departures: show no-realtime indicator
Diffstat (limited to 'templates/_departures_hafas.html.ep')
-rw-r--r-- | templates/_departures_hafas.html.ep | 3 |
1 files changed, 3 insertions, 0 deletions
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) { + <i class="material-icons" aria-label="Keine Echtzeitdaten vorhanden" style="font-size: 16px;">gps_off</i> + % } </td> </tr> % } |