summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>
% }