Improve school:for; disable it until voting has passed

This commit is contained in:
Pieter Vander Vennet 2022-06-22 15:22:58 +02:00
parent 21b268be61
commit 83bf3af9ac

View file

@ -145,6 +145,7 @@
}, },
{ {
"id": "target-audience", "id": "target-audience",
"condition": "school:for~*",
"question": { "question": {
"en":"What is the target audience for this school?" "en":"What is the target audience for this school?"
}, },
@ -157,10 +158,17 @@
"inline": true "inline": true
}, },
"mappings": [ "mappings": [
{
"if": "school:for=",
"then": {
"en": "This is a school where students study skills at their age-adequate level. <div>There are little or no special facilities to cater for students with special needs or facilities are ad-hoc</div>"
},
"hideInAnswer": true
},
{ {
"if": "school:for=mainstream", "if": "school:for=mainstream",
"then": { "then": {
"en": "This is a school where students study skills at their age-adequate level" "en": "This is a school where students study skills at their age-adequate level."
} }
}, },
{ {
@ -198,6 +206,12 @@
"then": { "then": {
"en": "This is a school with facilities for students with disabilities" "en": "This is a school with facilities for students with disabilities"
} }
},
{
"if": "school:for=special_needs",
"then": {
"en": "This is a school with facilities for students with special needs"
}
} }
] ]
}, },