Themes: add label support to questions.json; add opening hours for hospitals

This commit is contained in:
Pieter Vander Vennet 2023-05-23 00:34:26 +02:00
parent 151e648616
commit 41fdeb9cb5
4 changed files with 93 additions and 68 deletions

View file

@ -83,9 +83,23 @@
"ca": "Un pacient hospitalitzat és un pacient que roman diversos dies a la instal·lació"
}
},
"phone",
"email",
"website"
"contact",
{
"id": "oh-visitor",
"question": {
"en": "When are visitors allowed to visit?"
},
"questionHint": {
"en": "These are the regular visitor hours. Some wands have different visitor hours or might allow visitors in emergencies"
},
"freeform": {
"key": "opening_hours:visitors",
"type": "opening_hours"
},
"render": {
"en": "<h3>Opening hours for visitors</h3>Regular visitors are allowed at the following moments: {opening_hours_table(opening_hours:visitors)}<p class='subtle'>Some wands might have different opening hours. Many hospitals allow visits during emergencies too.</p>"
}
}
],
"mapRendering": [
{
@ -103,4 +117,4 @@
"width": 1
}
]
}
}