Browse Source

water: additional 'intermittent' filter

railway-electrification
parent
commit
edc387e049
  1. 16
      water.json

16
water.json

@ -44,6 +44,16 @@
"description": [ "description": [
"{{ tagTrans(key, value) }}" "{{ tagTrans(key, value) }}"
], ],
"body": [
"<ul>",
"{% if tags.intermittent %}",
" <li class='hasSymbol'>",
" <i class=\"far fa-circle\"></i>",
" <span class='key'>{{ keyTrans('intermittent') }}:</span>",
" <span class='value'>{{ tagTrans('intermittent', tags.intermittent) }}</span>",
"{% endif %}",
"</ul>"
],
"markerSign": [ "markerSign": [
"{{ const[kv].sign|raw }}" "{{ const[kv].sign|raw }}"
], ],
@ -225,6 +235,12 @@
"show_default": "true", "show_default": "true",
"values": "{% for k, data in const %}<option value=\"{{ k }}\" query=\"(nwr[{{ k }}];{% for a in data.alias %}nwr[{{ a }}];{% endfor %})\">{{ tagTrans(k) }}</option>{% endfor %}", "values": "{% for k, data in const %}<option value=\"{{ k }}\" query=\"(nwr[{{ k }}];{% for a in data.alias %}nwr[{{ a }}];{% endfor %})\">{{ tagTrans(k) }}</option>{% endfor %}",
"sort": "natsort" "sort": "natsort"
},
"intermittent": {
"name": "{{ keyTrans('intermittent') }}",
"key": "intermittent",
"type": "radio",
"values": "<option value='yes' query=\"nwr[intermittent][intermittent!=no]\">{{ tagTrans('intermittent', 'yes') }}</option><option value='no' query=\"(nwr[!intermittent];nwr[intermittent=no];)\">{{ tagTrans('intermittent', 'no') }}</option>"
} }
}, },
"info": [ "info": [

Loading…
Cancel
Save