summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-07-14 22:16:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-07-14 22:16:58 +0200
commite258e3e1eb2d2dafc92c016253fd29d48869af73 (patch)
tree5b77bb8a451786369d45c18c3e6ea392cd7f528d
parentd2bfd1cd74736ffe7fde75b729d4e84d01d9f8a4 (diff)
add "fällt aus" marker to cancelled departures
-rw-r--r--templates/departure_list.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/departure_list.html b/templates/departure_list.html
index de7b48d..3762a03 100644
--- a/templates/departure_list.html
+++ b/templates/departure_list.html
@@ -23,7 +23,10 @@
<span class="dest" aria-label="nach {{ departure.direction }}">{{ departure.direction }}
</span>
{% if departure.cancelled and departure.plannedWhen %}
- <span class="time" aria-label="um {{ departure.plannedWhen }}">{{ departure.plannedWhen.strftime("%H:%M") }}</span>
+ <span class="time" aria-label="fällt aus, planmäßige Abfahrt um {{ departure.plannedWhen }}">
+ <span class="delay">fällt aus</span>
+ {{ departure.plannedWhen.strftime("%H:%M") }}
+ </span>
{% else %}
<span class="time" aria-label="Abfahrtszeit: {{ departure.relativeWhen }}">
{% if departure.delay %}