Themes(food): Add question about drive-through

This commit is contained in:
Robin van der Linde 2024-12-02 13:41:56 +01:00
parent a50d1ebe7d
commit 9e5ace07d4
Signed by untrusted user who does not match committer: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -804,6 +804,55 @@
} }
] ]
}, },
{
"id": "drive-through",
"condition": "amenity=fast_food",
"question": {
"en": "Does this fast-food restaurant have a drive-through?",
"nl": "Heeft dit fastfoodrestaurant een drive-through?"
},
"mappings": [
{
"if": "drive_through=yes",
"then": {
"en": "This fast-food restaurant has a drive-through",
"nl": "Dit fastfoodrestaurant heeft een drive-through"
}
},
{
"if": "drive_through=no",
"then": {
"en": "This fast-food restaurant does not have a drive-through",
"nl": "Dit fastfoodrestaurant heeft geen drive-through"
}
}
]
},
{
"id": "drive-through-opening_hours",
"condition": "drive_through=yes",
"question": {
"en": "What are the opening hours of the drive-through?",
"nl": "Wat zijn de openingsuren van de drive-through?"
},
"freeform": {
"key": "opening_hours:drive_through",
"type": "opening_hours"
},
"mappings": [
{
"if": "opening_hours:drive_through=",
"then": {
"en": "The opening hours of the drive-through are the same as the restaurant",
"nl": "De openingsuren van de drive-through zijn dezelfde als die van het restaurant"
}
}
],
"render": {
"en": "<h3>Drive-through opening hours</h3>{opening_hours_table(opening_hours:drive_through)}",
"nl": "<h3>Openingsuren van de drive-through</h3>{opening_hours_table(opening_hours:drive_through)}"
}
},
{ {
"question": { "question": {
"nl": "Heeft deze eetgelegenheid een vegetarische optie?", "nl": "Heeft deze eetgelegenheid een vegetarische optie?",