Themes(food): fix vegan questions, show vegan/vegetarian badge if =only, fix shops layer

This commit is contained in:
Pieter Vander Vennet 2024-10-08 14:28:56 +02:00
parent 84589cdfa9
commit f8ef32f123
2 changed files with 8 additions and 6 deletions

View file

@ -112,7 +112,9 @@
"if": { "if": {
"or": [ "or": [
"diet:vegetarian=yes", "diet:vegetarian=yes",
"diet:vegan=yes" "diet:vegan=yes",
"diet:vegetarian=only",
"diet:vegan=only"
] ]
}, },
"then": { "then": {
@ -981,9 +983,6 @@
"condition": "cuisine!=friture", "condition": "cuisine!=friture",
"id": "halal (no friture)" "id": "halal (no friture)"
}, },
"sugar_free",
"gluten_free",
"lactose_free",
{ {
"id": "organic (no friture)", "id": "organic (no friture)",
"question": { "question": {
@ -1098,7 +1097,7 @@
{ {
"if": "diet:vegan=only", "if": "diet:vegan=only",
"then": { "then": {
"en": "Servers only vegan snacks and burgers" "en": "Serves only vegan snacks and burgers"
} }
}, },
{ {
@ -1276,6 +1275,9 @@
], ],
"condition": "cuisine=friture" "condition": "cuisine=friture"
}, },
"sugar_free",
"gluten_free",
"lactose_free",
"smoking", "smoking",
"service:electricity", "service:electricity",
"dog-access", "dog-access",

View file

@ -172,7 +172,7 @@
"then": "circle:white;./assets/layers/id_presets/fas-key.svg" "then": "circle:white;./assets/layers/id_presets/fas-key.svg"
} }
], ],
"labelCssClasses": "bg-white rounded px-2",, "labelCssClasses": "bg-white rounded px-2",
"label": { "label": {
"mappings": [ "mappings": [
{ {