summaryrefslogtreecommitdiff
path: root/templates/_departures_hafas.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-09-09 09:50:41 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-09-09 09:50:41 +0200
commit40961f53fd0168f6aef52e3968851f97b7248d4e (patch)
tree46b1bc6ac408fdd866022ca4cfc7a12aeabaa5d2 /templates/_departures_hafas.html.ep
parent2e14c2e3e4dafa976cecab2721682553d90eb01e (diff)
hafas departures: show no-realtime indicator
Diffstat (limited to 'templates/_departures_hafas.html.ep')
-rw-r--r--templates/_departures_hafas.html.ep3
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>
% }