From 7a279c0cc058d05dae63430529e67a6b284dc377 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 4 Sep 2021 16:47:40 +0200 Subject: Automatically split stops into name and area In germany, it's typically "name, area". In switzerland, it's vice versa. --- templates/departure_list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/departure_list.html') 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 @@
  • {{ departure.line.name }} - {% if departure.suffix %} - {{ departure.suffix }} + {% if departure.direction_area %} + {{ departure.direction_area }} {% endif %} - {{ departure.direction }} + {{ departure.direction_stop }} {% if departure.cancelled and departure.plannedWhen %} -- cgit v1.2.3