Browse Source

Merge branch 'pitchnames' of Hufkratzer/main into master

pedestrian
parent
commit
29a51843de
  1. 8
      leisure.json

8
leisure.json

@ -28,9 +28,17 @@
}, },
"feature": { "feature": {
"description": [ "description": [
"{% if tags.leisure == 'pitch' and tags.sport %}",
" {% set pitchName = tagTrans('leisure', 'pitch sport=' ~ tags.sport) %}",
"{% endif %}",
"",
"{% if pitchName and pitchName != tags.sport %}",
" {{ pitchName }} ",
"{% else %}",
" {{ tagTrans('leisure', tags.leisure) }}", " {{ tagTrans('leisure', tags.leisure) }}",
" {% if tags.leisure == 'pitch' and tags.sport %}", " {% if tags.leisure == 'pitch' and tags.sport %}",
" - {{ tagTransList('sport', tags.sport) }}", " - {{ tagTransList('sport', tags.sport) }}",
" {% endif %}",
"{% endif %}" "{% endif %}"
] ]
} }

Loading…
Cancel
Save