From 89b8bb41c9934e90e4f9135920f90c145b8318ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 15 Jul 2018 08:43:02 +0200 Subject: [PATCH] pt: improvements - use data-object instead of object --- pt.json | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pt.json b/pt.json index 29cbfa7f..aee7bc38 100644 --- a/pt.json +++ b/pt.json @@ -65,12 +65,13 @@ ], "description": "{{ tagTrans('route', tags.route) }}", "body": [ - "

Stops {{ map.zoom }}

", + "

Stops

" ], "listStopsExclude": "true", "listRoutesMarkerSign": "{{ const[tags.route].sign|raw }}", @@ -87,11 +88,15 @@ "width": "{% if map.zoom>=15 %}5{% else %}3{% endif %}" }, "title": "{% if tags.public_transport == 'stop_position' %}{{ tags.name }}{% endif %}", - "listStopsTitle": "{{ tags.name }}
{% for master in masters %}{{ master.tags.ref }} {% endfor %}", + "listStopsTitle": "{{ tags.name }}", + "listStopsDescription": "{% for master in masters %}{{ master.tags.ref }} {% endfor %}", "body": [ + "

Routes

", + "" ], "listRoutesExclude": "true", "listStopsExclude": "{% set isStop = 0 %}{% for master in masters %}{% if master.role|slice(-4) == 'stop' %}{% set isStop = 1 %}{% endif %}{% endfor %}{{ not isStop }}"