summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-08-23 21:34:25 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-08-23 21:34:25 +0200
commit9a022641bc943f26f47b85f653e50eac34e84c36 (patch)
treea2dcd130dc2452c1e8ab6912dd60b748d27f906a /templates
parent4eeb0036ecd4497d3900f46a7c5371d0e6a0bad6 (diff)
show cancellation instead of platform
Diffstat (limited to 'templates')
-rw-r--r--templates/departure_list.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/departure_list.html b/templates/departure_list.html
index 3df1e65..3edaef6 100644
--- a/templates/departure_list.html
+++ b/templates/departure_list.html
@@ -9,7 +9,6 @@
</span>
{% if departure.cancelled and departure.plannedWhen %}
<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 %}
@@ -20,8 +19,10 @@
{{ departure.relativeWhen }}
</span>
{% endif %}
- {% if departure.platform %}
- <span class="platform" aria-label="Gleis/Bussteig {{ departure.platform }}">{{ departure.platform }}</span>
+ {% if departure.cancelled %}
+ <span class="cancelled" aria-hidden="true">entfällt</span>
+ {% elif departure.platform %}
+ <span class="platform" aria-label="Steig {{ departure.platform }}">{{ departure.platform }}</span>
{% endif %}
</a>
</li>