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",
|
||||
"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
|
||||
}
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue