Themes: move shelter filter to filters

This commit is contained in:
Robin van der Linde 2025-08-24 23:11:19 +02:00
parent 2c6574762c
commit eb317d0bda
4 changed files with 28 additions and 42 deletions

View file

@ -571,6 +571,28 @@
} }
} }
] ]
},
{
"id": "shelter",
"options": [
{
"osmTags": {
"or": [
"shelter=yes",
"shelter=separate"
]
},
"question": {
"en": "With a shelter",
"ca": "Amb refugi",
"cs": "S přístřeškem",
"de": "Mit Unterstand",
"es": "Con refugio",
"fr": "Avec un abri",
"it": "Con una pensilina"
}
}
]
} }
], ],
"allowMove": false "allowMove": false

View file

@ -245,23 +245,7 @@
} }
], ],
"filter": [ "filter": [
{ "shelter",
"id": "shelter",
"options": [
{
"question": {
"en": "With a shelter",
"nl": "Met een schuilplaats"
},
"osmTags": {
"or": [
"shelter=yes",
"shelter=separate"
]
}
}
]
},
{ {
"id": "fireplace", "id": "fireplace",
"options": [ "options": [

View file

@ -3116,7 +3116,8 @@
"if": "nobrand=yes", "if": "nobrand=yes",
"addExtraTags": [ "addExtraTags": [
"brand=", "brand=",
"brand:wikidata=" "brand:wikidata=",
"brand:wikipedia="
], ],
"then": { "then": {
"en": "Not part of a bigger brand", "en": "Not part of a bigger brand",
@ -3652,4 +3653,4 @@
} }
} }
] ]
} }

View file

@ -544,28 +544,7 @@
} }
], ],
"filter": [ "filter": [
{ "shelter",
"id": "shelter",
"options": [
{
"osmTags": {
"or": [
"shelter=yes",
"shelter=separate"
]
},
"question": {
"en": "With a shelter",
"ca": "Amb refugi",
"cs": "S přístřeškem",
"de": "Mit Unterstand",
"es": "Con refugio",
"fr": "Avec un abri",
"it": "Con una pensilina"
}
}
]
},
{ {
"id": "bench", "id": "bench",
"options": [ "options": [
@ -613,4 +592,4 @@
"tactile_paving" "tactile_paving"
], ],
"allowMove": false "allowMove": false
} }