From 6cf0ca9fb622fe708f486685c917153780543e5b Mon Sep 17 00:00:00 2001 From: Midgard <2885-Midgard@users.noreply.framagit.org> Date: Sun, 6 Jun 2021 18:32:59 +0200 Subject: [PATCH] Recognize fire_hydrant:position=cycleway but don't ask question --- assets/layers/fire_hydrants/fire_hydrants.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/layers/fire_hydrants/fire_hydrants.json b/assets/layers/fire_hydrants/fire_hydrants.json index 2d29a13..ad23b92 100644 --- a/assets/layers/fire_hydrants/fire_hydrants.json +++ b/assets/layers/fire_hydrants/fire_hydrants.json @@ -347,10 +347,6 @@ }, { - "question": { - "nl": "Waar bevindt de hydrant zich?", - "en": "Where is the hydrant?" - }, "render": { "nl": "Omgeving: {fire_hydrant:position}", "en": "Position: {fire_hydrant:position}" @@ -373,6 +369,11 @@ "en": "On a sidewalk" }}, + {"if": {"and": ["fire_hydrant:position=cycleway"]}, "then": { + "nl": "Op het fietspad", + "en": "On a cycleway" + }}, + {"if": {"and": ["fire_hydrant:position=green"]}, "then": { "nl": "In het gras", "en": "In a grassy area"