summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/departure_list.html6
-rw-r--r--templates/tripinfo.html4
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/departure_list.html b/templates/departure_list.html
index eade979..dee05b5 100644
--- a/templates/departure_list.html
+++ b/templates/departure_list.html
@@ -2,10 +2,10 @@
<li class="{{ departure.classes }}" data-timestamp="{{ departure.sort_by }}">
<a href="/trip/{{ departure.tripId }}?line={{ departure.quoted_line_name }}&amp;highlight={{ departure.quoted_stop_name }}&amp;platform={{ departure.quoted_platform() }}">
<span class="line {{ departure.line.css_class }}">{{ departure.line.name }}</span>
- {% if departure.suffix %}
- <span class="destsuffix">{{ departure.suffix }}</span>
+ {% if departure.direction_area %}
+ <span class="destsuffix">{{ departure.direction_area }}</span>
{% endif %}
- <span class="dest" aria-label="nach {{ departure.direction }}">{{ departure.direction }}
+ <span class="dest" aria-label="nach {{ departure.direction_stop }}">{{ departure.direction_stop }}
</span>
{% if departure.cancelled and departure.plannedWhen %}
<span class="time" aria-label="fällt aus, planmäßige Abfahrt um {{ departure.plannedWhen }}">
diff --git a/templates/tripinfo.html b/templates/tripinfo.html
index 5cf8127..61b7037 100644
--- a/templates/tripinfo.html
+++ b/templates/tripinfo.html
@@ -88,9 +88,9 @@ Fahrtverlauf:
{{ stopover.plannedWhen.strftime('%H:%M') }}
{% endif %}
{% if stopover.is_requested_stop %}
- <span class="this-stop">{{ stopover.name }}</span>
+ <span class="this-stop">{% if stopover.name_area %}{{ stopover.name_area }}{% endif %} {{ stopover.name_stop }} </span>
{% else %}
- {{ stopover.name }}
+ {% if stopover.name_area %}{{ stopover.name_area }}{% endif %} {{ stopover.name_stop }}
{% endif %}
</li>
{% endfor %}