Add image:menu and website:menu-options to the food theme

This commit is contained in:
Pieter Vander Vennet 2024-07-28 03:51:33 +02:00
parent 5afa1b0e3b
commit c6f214b3d2

View file

@ -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",