]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Name of public_transport_stop was split.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 31 Oct 2021 22:57:15 +0000 (23:57 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 31 Oct 2021 22:57:15 +0000 (23:57 +0100)
wrpylib/templates/sledrun_wiki.txt

index ae04836069ff0e72d2704b19caa09c63fb34a8e8..ddcf0426ee930cca84039f52736890236b8c90cf 100644 (file)
@@ -65,7 +65,7 @@
 {%- endif %}
 
 {% for pt_stop in public_transport_stops -%}
-* {{ h.list_template('Haltestelle', [pt_stop.get('name', ''), '', h.json_pos_ele_position(pt_stop.get('position', '')), h.json_pos_ele_elevation(pt_stop.get('position', ''))]) }}
+* {{ h.list_template('Haltestelle', [pt_stop.municipality, pt_stop.name_local, h.json_pos_ele_position(pt_stop.get('position', '')), h.json_pos_ele_elevation(pt_stop.get('position', ''))]) }}
 {% for template_name in ['monitor_template', 'route_arrival_template', 'route_departure_template'] -%}
 {% if template_name in pt_stop -%}
 ** {{ h.json_template(pt_stop[template_name]) }}