Questions: add 24/7 logo, add 24/7 by default question, fix loading recursive default questions

This commit is contained in:
Pieter Vander Vennet 2024-05-07 17:25:23 +02:00
parent 600727e820
commit dfb49ccc2f
7 changed files with 156 additions and 9 deletions

View file

@ -753,6 +753,7 @@
"+mappings": [
{
"if": "opening_hours=24/7",
"icon": "./assets/layers/questions/open24_7.svg",
"then": {
"en": "24/7 opened (including holidays)",
"de": "durchgehend geöffnet (auch an Feiertagen)",
@ -771,6 +772,18 @@
]
}
},
{
"id": "opening_hours_24_7_default",
"builtin": "opening_hours_24_7",
"override": {
"mappings": [
{
"#": "The first mapping is 'opening_hours=24/7', we amend this to also show if no info is known",
"alsoShowIf": "opening_hours="
}
]
}
},
{
"id": "opening_hours_by_appointment",
"builtin": "opening_hours",