Themes(food): Add question about seating (#1976)

This commit is contained in:
Robin van der Linde 2024-12-02 13:21:27 +01:00
parent d19b2de1cd
commit a50d1ebe7d
Signed by: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
4 changed files with 61 additions and 5 deletions

View file

@ -401,6 +401,7 @@
"wheelchair-access",
"smoking",
"service:electricity",
"seating",
"dog-access",
"internet",
"internet-fee",
@ -412,7 +413,9 @@
"accepts_cash",
"accepts_cards",
"has_internet",
"has_electricity"
"has_electricity",
"outdoor_seating",
"indoor_seating"
],
"deletion": {
"softDeletionTags": {
@ -439,4 +442,4 @@
]
},
"allowMove": true
}
}

View file

@ -418,7 +418,30 @@
}
}
]
},
{
"id": "outdoor_seating",
"options": [
{
"question": {
"en": "Has outdoor seating"
},
"icon": "./assets/layers/outdoor_seating.svg",
"osmTags": "outdoor_seating=yes"
}
]
},
{
"id": "indoor_seating",
"options": [
{
"question": {
"en": "Has indoor seating"
},
"osmTags": "indoor_seating=yes"
}
]
}
],
"allowMove": false
}
}

View file

@ -1341,6 +1341,7 @@
"lactose_free",
"smoking",
"service:electricity",
"seating",
"dog-access",
"internet",
"internet-fee",
@ -1488,6 +1489,8 @@
"filters.sugar_free",
"filters.gluten_free",
"filters.lactose_free",
"outdoor_seating",
"indoor_seating",
"accepts_cash",
"accepts_cards",
"dogs"
@ -1545,4 +1548,4 @@
]
},
"allowMove": true
}
}

View file

@ -3181,7 +3181,34 @@
}
}
]
},
{
"id": "seating",
"question": {
"en": "What kind of seating does {title()} have?",
"nl": "Wat voor zitplaatsen heeft {title()}?"
},
"mappings": [
{
"if": "outdoor_seating=yes",
"ifnot": "outdoor_seating=no",
"then": {
"en": "This place has outdoor seating",
"nl": "Deze plaats heeft zitplaatsen buiten"
},
"icon": "./assets/layers/outdoor_seating/outdoor_seating.svg"
},
{
"if": "indoor_seating=yes",
"ifnot": "indoor_seating=no",
"then": {
"en": "This place has indoor seating",
"nl": "Deze plaats heeft zitplaatsen binnen"
}
}
],
"multiAnswer": true
}
],
"allowMove": false
}
}