Browse Source

gastro, religion: show details

bug-43
parent
commit
92255ed3d6
  1. 1
      gastro.json
  2. 8
      religion.json

1
gastro.json

@ -23,6 +23,7 @@
}, },
"feature": { "feature": {
"description": "{{ tagTrans('amenity', tags.amenity) }}", "description": "{{ tagTrans('amenity', tags.amenity) }}",
"details": "{{ tagTransList('cuisine', tags.cuisine) }}",
"body": [ "body": [
"<ul>", "<ul>",
" <li class='hasSymbol'>", " <li class='hasSymbol'>",

8
religion.json

@ -63,15 +63,15 @@
" {% if isTranslated('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) %}", " {% if isTranslated('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) %}",
" {{ trans('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) }}", " {{ trans('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) }}",
" {% elseif tags.building != 'yes' %}", " {% elseif tags.building != 'yes' %}",
" {{ trans('tag:building=' ~ tags.building) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
" {{ trans('tag:building=' ~ tags.building) }}",
" {% else %}", " {% else %}",
" {{ tagTrans(key, value) }}: {{ tagTransList('religion', tags.religion) }}",
" {{ tagTrans(key, value) }}",
" {% endif %}", " {% endif %}",
"{% else %}", "{% else %}",
" {{ tagTrans(key, value) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
" {{ tagTrans(key, value) }}",
"{% endif %}" "{% endif %}"
], ],
"popupDescription": "{{ tagTrans(key, value) }}",
"details": "{{ 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/>",

Loading…
Cancel
Save