From 9f4dbdae875f3ccd0bc9f189b85c8594788a9212 Mon Sep 17 00:00:00 2001 From: Osmwithspace <> Date: Mon, 18 Aug 2025 11:32:43 +0200 Subject: [PATCH] add 'sauna:' prefix, reviews and contact --- .../sauna_at_leisure/sauna_at_leisure.json | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/assets/layers/sauna_at_leisure/sauna_at_leisure.json b/assets/layers/sauna_at_leisure/sauna_at_leisure.json index 241838515..079e4f64c 100644 --- a/assets/layers/sauna_at_leisure/sauna_at_leisure.json +++ b/assets/layers/sauna_at_leisure/sauna_at_leisure.json @@ -283,19 +283,19 @@ "de": "Eintrittspreis für {time}: {charge}" }, "freeform": { - "key": "charge", + "key": "sauna:charge", "type": "currency", "inline": true, "postfixDistinguished": "{key}", "addExtraTags": [ - "fee=yes" + "sauna:fee=yes" ] }, "mappings": [ { - "if": "fee=no", + "if": "sauna:fee=no", "addExtraTags": [ - "charge=" + "sauna:charge=" ], "then": { "en": "The sauna is free of charge", @@ -306,12 +306,12 @@ ], "condition": { "and": [ - "access!=customers", - "access!=no", - "access!=private", + "sauna:access!=customers", + "sauna:access!=no", + "sauna:access!=private", { "or": [ - "sauna=yes" + "sauna:sauna=yes" ] } ] @@ -331,7 +331,9 @@ "type": "questions" } } - } + }, + "reviews", + "contact" ], "allowMove": true, "#": "Use 'sauna_at_leisure.sauna_grouped' in a layer.tagRenderings to add the 'sauna information' expandle block (incl 'has sauna'); use 'sauna_at_leisure.expanded' to get all sauna questions directly (which does _not_ include the 'has sauna' question)",