Browse Source

religion, sport: unfin

bug-43
parent
commit
46ac8f819a
  1. 2
      religion.json
  2. 14
      sport.json

2
religion.json

@ -71,7 +71,7 @@
" {{ tagTrans(key, value) }}", " {{ tagTrans(key, value) }}",
"{% endif %}" "{% endif %}"
], ],
"details": "{{ tagTransList('religion', tags.religion) }}{% if tags.denomination %} - {{ tagTransList('denomination', tags.denomination) }}{% endif %}",
"listDetails": "{{ tagTransList('religion', tags.religion) }}{% if tags.denomination %} - {{ tagTransList('denomination', tags.denomination) }}{% endif %}",
"body": [ "body": [
"{% if tags.building %}", "{% if tags.building %}",
" {{ keyTrans('building') }}: {{ tagTrans('building', tags.building) }}<br/>", " {{ keyTrans('building') }}: {{ tagTrans('building', tags.building) }}<br/>",

14
sport.json

@ -20,8 +20,18 @@
"14": "(node[sport];way[sport];relation[sport];)" "14": "(node[sport];way[sport];relation[sport];)"
}, },
"feature": { "feature": {
"title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) |default(tagTransList('sport', tags.sport)) }}",
"description": "{{ tagTransList('sport', tags.sport) }}",
"description": [
"{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure) }}",
"{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity) }}",
"{% elseif tags.shop %}{{ tags.shop == 'yes' ? keyTrans('shop') : tagTrans('shop', tags.shop) }}",
"{% elseif tags.landuse %}{{ tagTrans('landuse', tags.landuse) }}",
"{% elseif tags.building %}{{ tags.building == 'yes' ? keyTrans('building') : tagTrans('building', tags.building) }}",
"{% elseif tags.highway %}{{ tagTrans('highway', tags.highway) }}",
"{% else %}{{ keyTrans('sport') }}",
"{% endif %}"
],
"listDetails": "{{ tagTransList('sport', tags.sport) }}",
"body": "{{ keyTrans('sport') }}: {{ tagTransList('sport', tags.sport) }}",
"markerSign": [ "markerSign": [
"{% set firstSport = tags.sport|split(';')[0] %}", "{% set firstSport = tags.sport|split(';')[0] %}",
"{{ const[firstSport] }}" "{{ const[firstSport] }}"

Loading…
Cancel
Save