summaryrefslogtreecommitdiff
path: root/templates/app.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-07-18 12:56:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-07-18 12:56:58 +0200
commitebb6c9174e0a4622904e8bccd7248609bb66ad8d (patch)
treefb23e76d23efa2976310888bcd58cc56e351fe61 /templates/app.html.ep
parent9f8379ef9e60d925a8356a3f0db992806dac4af4 (diff)
show mising realtime data in departure overview as well
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r--templates/app.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 4a45c99..ac6d928 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -113,6 +113,9 @@
% }
% }
% }
+% elsif ($departure->{missing_realtime}) {
+ <span class="no-realtime" aria-label="Echtzeitdaten fehlen"><i class="material-icons" aria-hidden="true">gps_off</i></span>
+% }
% if (param('detailed')) {
% my $arrow = '→';
% if (not $departure->{sched_arrival}) {