From 4e540442606b4030f07fb982fab8fbe085c4d563 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Sat, 13 Aug 2022 11:45:01 +0200 Subject: [PATCH] Add mapping for no disabled spaces, fix icon badge --- assets/layers/parking/parking.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/assets/layers/parking/parking.json b/assets/layers/parking/parking.json index 2e52f7833..6452f9282 100644 --- a/assets/layers/parking/parking.json +++ b/assets/layers/parking/parking.json @@ -164,6 +164,15 @@ "fr": "Il n'y a pas de places de stationnement pour personnes à mobilité réduite" }, "hideInAnswer": true + }, + { + "if": "capacity:disabled=0", + "then": { + "en": "There are no disabled parking spots", + "nl": "Er zijn geen parkeerplaatsen voor gehandicapten", + "de": "Es gibt keine barrierefreien Stellplätze", + "fr": "Il n'y a pas de places de stationnement pour personnes à mobilité réduite" + } } ], "question": { @@ -247,9 +256,9 @@ "iconBadges": [ { "if": { - "and": [ - "capacity:disabled~*", - "capacity:disabled!=no" + "or": [ + "capacity:disabled>0", + "capacity:disabled=yes" ] }, "then": "circle:white;./assets/layers/toilet/wheelchair.svg"