X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/blobdiff_plain/3153a7277b4e90b56d346b0b95e86d4cb98ecaaf..cedf0a723df48ca40a2adf563e6241a7fff82dff:/wradmin/templates/rodelbahn_view_wikitext.html diff --git a/wradmin/templates/rodelbahn_view_wikitext.html b/wradmin/templates/rodelbahn_view_wikitext.html index 750ba62..a473aaf 100644 --- a/wradmin/templates/rodelbahn_view_wikitext.html +++ b/wradmin/templates/rodelbahn_view_wikitext.html @@ -104,9 +104,16 @@ == Anreise mit öffentlichen Verkehrsmitteln == {% if 'public_transport_description' in sledrun_json %}{{ sledrun_json['public_transport_description'] }} -{% else %}''Hier wird die Anreise mit öffentlichen Verkehrsmitteln beschrieben.'' -{% endif %} +{%- else %}''Hier wird die Anreise mit öffentlichen Verkehrsmitteln beschrieben.''{% endif %} +{% for pt_stop in sledrun_json.get('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', ''))]) }} +{% 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]) }} +{% endif %} +{%- endfor %} +{%- endfor %} * {Haltestelle|Imst|Rastbühel/Hochbehälter|47.255415 N 10.738377 E|975}} ** {Fahrplan Abfahrtsmonitor VVT|Imst|Rastbühel/Hochbehälter|62295}} ** {Fahrplan Hinfahrt VVT|Imst|Rastbühel/Hochbehälter}}