diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2021-07-14 22:16:58 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2021-07-14 22:16:58 +0200 | 
| commit | e258e3e1eb2d2dafc92c016253fd29d48869af73 (patch) | |
| tree | 5b77bb8a451786369d45c18c3e6ea392cd7f528d | |
| parent | d2bfd1cd74736ffe7fde75b729d4e84d01d9f8a4 (diff) | |
add "fällt aus" marker to cancelled departures
| -rw-r--r-- | templates/departure_list.html | 5 | 
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 %} | 
