From 83bf3af9ac769b1638e66efea923ee9d82a4dfab Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 22 Jun 2022 15:22:58 +0200 Subject: [PATCH] Improve school:for; disable it until voting has passed --- assets/layers/school/school.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/assets/layers/school/school.json b/assets/layers/school/school.json index 360ccea3e5..acc64472ad 100644 --- a/assets/layers/school/school.json +++ b/assets/layers/school/school.json @@ -145,6 +145,7 @@ }, { "id": "target-audience", + "condition": "school:for~*", "question": { "en":"What is the target audience for this school?" }, @@ -157,10 +158,17 @@ "inline": true }, "mappings": [ + { + "if": "school:for=", + "then": { + "en": "This is a school where students study skills at their age-adequate level.
There are little or no special facilities to cater for students with special needs or facilities are ad-hoc
" + }, + "hideInAnswer": true + }, { "if": "school:for=mainstream", "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": { "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" + } } ] },