summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-08-25 22:00:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-08-25 22:00:37 +0200
commit8529c659f7d212fd781190951d8d9aabfa4b208c (patch)
tree3a5581a3d1a088038c6846f09bb42f9f6c2f4ea6 /templates
parentc4649d7c1700ebdc4ca25b2915c6345b4b24b5df (diff)
add icon for departures with missing realtime data
Diffstat (limited to 'templates')
-rw-r--r--templates/departure_list.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/departure_list.html b/templates/departure_list.html
index 3edaef6..eade979 100644
--- a/templates/departure_list.html
+++ b/templates/departure_list.html
@@ -15,6 +15,8 @@
<span class="time" aria-label="Abfahrtszeit: {{ departure.relativeWhen }}">
{% if departure.delay %}
<span class="delay" aria-label="{{ departure.delay }} Minuten Verspätung">({{ departure.delay }})</span>
+ {% elif departure.delay is none %}
+ <span class="no-realtime" aria-hidden="true"><i class="material-icons">gps_off</i></span>
{% endif %}
{{ departure.relativeWhen }}
</span>