From 034e3cf282da86859d55aeccd745ec8dfd77270a Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 19 Jul 2022 11:55:46 +0200 Subject: [PATCH] Add reception desk layers --- Models/ThemeConfig/Json/UnitConfigJson.ts | 4 +++- assets/tagRenderings/license_info.json | 20 ++++++++++++++++ assets/tagRenderings/questions.json | 28 +++++++++++++++++++++++ assets/themes/onwheels/onwheels.json | 1 + 4 files changed, 52 insertions(+), 1 deletion(-) diff --git a/Models/ThemeConfig/Json/UnitConfigJson.ts b/Models/ThemeConfig/Json/UnitConfigJson.ts index bde2683b2..f69212f00 100644 --- a/Models/ThemeConfig/Json/UnitConfigJson.ts +++ b/Models/ThemeConfig/Json/UnitConfigJson.ts @@ -1,7 +1,9 @@ export default interface UnitConfigJson { /** - * Every key from this list will be normalized + * Every key from this list will be normalized. + * + * To render a united value properly, use */ appliesToKey: string[], /** diff --git a/assets/tagRenderings/license_info.json b/assets/tagRenderings/license_info.json index c65bd6f93..1f92135a1 100644 --- a/assets/tagRenderings/license_info.json +++ b/assets/tagRenderings/license_info.json @@ -1,4 +1,24 @@ [ + { + "path": "audio_induction_loop.svg", + "license": "CC-BY 4.0", + "authors": [ + "Carl Holderness" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Noun_telecoil_audio_induction_hearing_loop_symbol_2011213.svg" + ] + }, + { + "path": "audio_induction_loop_missing.svg", + "license": "CC-BY 4.0", + "authors": [ + "Carl Holderness" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Noun_telecoil_audio_induction_hearing_loop_symbol_2011213.svg" + ] + }, { "path": "cash.svg", "license": "CC-BY 3.0", diff --git a/assets/tagRenderings/questions.json b/assets/tagRenderings/questions.json index aeafac6f4..ec5ee874a 100644 --- a/assets/tagRenderings/questions.json +++ b/assets/tagRenderings/questions.json @@ -1086,5 +1086,33 @@ } } ] + }, + "induction-loop": { + "description": "An accessibility feature: induction loops are for hard-hearing persons which have an FM-receiver.", + "question": { + "en": "Does this place have an audio induction loop for people with reduced hearing?" + }, + "mappings": [ + { + "if": "hearing_loop=yes", + "then": { + "en": "This place has an audio induction loop" + }, + "icon": { + "path": "./assets/tagRenderings/audio_induction_loop.svg", + "class": "medium" + } + }, + { + "if": "hearing_loop=no", + "then": { + "en": "This place does not has an audio induction loop" + }, + "icon": { + "path": "./assets/tagRenderings/audio_induction_loop_missing.svg", + "class": "medium" + } + } + ] } } \ No newline at end of file diff --git a/assets/themes/onwheels/onwheels.json b/assets/themes/onwheels/onwheels.json index 2994e849b..7093afb06 100644 --- a/assets/themes/onwheels/onwheels.json +++ b/assets/themes/onwheels/onwheels.json @@ -29,6 +29,7 @@ "toilet", "viewpoint", "doctors", + "reception_desk", "walls_and_buildings" ], "overrideAll": {