forked from MapComplete/MapComplete
Add image:menu and website:menu-options to the food theme
This commit is contained in:
parent
5afa1b0e3b
commit
c6f214b3d2
1 changed files with 38 additions and 0 deletions
|
@ -523,6 +523,44 @@
|
|||
],
|
||||
"id": "Cuisine"
|
||||
},
|
||||
{
|
||||
"id": "show-menu-image",
|
||||
"render": {
|
||||
"*": "{image_carousel(image:menu)}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "add-menu-image",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "image_upload",
|
||||
"image-key": "image:menu",
|
||||
"label": {
|
||||
"en": "Add an image from the menu",
|
||||
"nl": "Voeg een foto van het menu toe"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "menu-website",
|
||||
"question": {
|
||||
"en": "On what webpage is the menu published?"
|
||||
},
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "link",
|
||||
"href": "{website:menu}",
|
||||
"text": {
|
||||
"en": "Consult the menu"
|
||||
}
|
||||
}
|
||||
},
|
||||
"freeform": {
|
||||
"key": "website:menu",
|
||||
"type": "url"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "Reservation",
|
||||
"condition": "takeaway!=only",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue