forked from MapComplete/MapComplete
Themes(food): Add question about seating (#1976)
This commit is contained in:
parent
d19b2de1cd
commit
a50d1ebe7d
4 changed files with 61 additions and 5 deletions
|
@ -401,6 +401,7 @@
|
||||||
"wheelchair-access",
|
"wheelchair-access",
|
||||||
"smoking",
|
"smoking",
|
||||||
"service:electricity",
|
"service:electricity",
|
||||||
|
"seating",
|
||||||
"dog-access",
|
"dog-access",
|
||||||
"internet",
|
"internet",
|
||||||
"internet-fee",
|
"internet-fee",
|
||||||
|
@ -412,7 +413,9 @@
|
||||||
"accepts_cash",
|
"accepts_cash",
|
||||||
"accepts_cards",
|
"accepts_cards",
|
||||||
"has_internet",
|
"has_internet",
|
||||||
"has_electricity"
|
"has_electricity",
|
||||||
|
"outdoor_seating",
|
||||||
|
"indoor_seating"
|
||||||
],
|
],
|
||||||
"deletion": {
|
"deletion": {
|
||||||
"softDeletionTags": {
|
"softDeletionTags": {
|
||||||
|
@ -439,4 +442,4 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"allowMove": true
|
"allowMove": true
|
||||||
}
|
}
|
|
@ -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
|
"allowMove": false
|
||||||
}
|
}
|
|
@ -1341,6 +1341,7 @@
|
||||||
"lactose_free",
|
"lactose_free",
|
||||||
"smoking",
|
"smoking",
|
||||||
"service:electricity",
|
"service:electricity",
|
||||||
|
"seating",
|
||||||
"dog-access",
|
"dog-access",
|
||||||
"internet",
|
"internet",
|
||||||
"internet-fee",
|
"internet-fee",
|
||||||
|
@ -1488,6 +1489,8 @@
|
||||||
"filters.sugar_free",
|
"filters.sugar_free",
|
||||||
"filters.gluten_free",
|
"filters.gluten_free",
|
||||||
"filters.lactose_free",
|
"filters.lactose_free",
|
||||||
|
"outdoor_seating",
|
||||||
|
"indoor_seating",
|
||||||
"accepts_cash",
|
"accepts_cash",
|
||||||
"accepts_cards",
|
"accepts_cards",
|
||||||
"dogs"
|
"dogs"
|
||||||
|
@ -1545,4 +1548,4 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"allowMove": true
|
"allowMove": true
|
||||||
}
|
}
|
|
@ -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
|
"allowMove": false
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue