summaryrefslogtreecommitdiff
path: root/templates/departure_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/departure_list.html')
-rw-r--r--templates/departure_list.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/departure_list.html b/templates/departure_list.html
index 37f259b..e234a2c 100644
--- a/templates/departure_list.html
+++ b/templates/departure_list.html
@@ -31,7 +31,12 @@
{% if departure.cancelled and departure.plannedWhen %}
<span class="time" aria-label="um {{ departure.plannedWhen }}">{{ departure.plannedWhen.strftime("%H:%M") }}</span>
{% else %}
- <span class="time" aria-label="in {{ departure.relativeWhen }}">{{ departure.relativeWhen }}</span>
+ <span class="time" aria-label="Abfahrtszeit: {{ departure.relativeWhen }}">
+ {% if departure.delay %}
+ <span class="delay" aria-label="{{ departure.delay }} Minuten Verspätung">({{ departure.delay }})</span>
+ {% endif %}
+ {{ departure.relativeWhen }}
+ </span>
{% endif %}
{% if departure.platform %}
<span class="platform" aria-label="Gleis/Bussteig {{ departure.platform }}">{{ departure.platform }}</span>