From cc70e09e11f55c62276fe9fcc5cf4e9033ccc6f5 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 14 Jun 2023 22:20:39 +0200 Subject: [PATCH] Themes: Add 'access=permissive' to charging stations, fixes #1255 Co-authored by: Thibault Molleman @thibaultmol --- .../charging_station/charging_station.protojson | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/assets/layers/charging_station/charging_station.protojson b/assets/layers/charging_station/charging_station.protojson index 55ee409cbe..0f8f41f6d1 100644 --- a/assets/layers/charging_station/charging_station.protojson +++ b/assets/layers/charging_station/charging_station.protojson @@ -144,12 +144,7 @@ } }, { - "if": { - "or": [ - "access=permissive", - "access=public" - ] - }, + "if": "access=public", "then": { "en": "Anyone can use this charging station (payment might be needed)", "nl": "Toegankelijk voor iedereen (mogelijks met aanmelden en/of te betalen)" @@ -176,6 +171,12 @@ "en": "Not accessible to the general public (e.g. only accessible to the owners, employees, ...)", "nl": "Niet toegankelijk voor het publiek
Bv. enkel toegankelijk voor de eigenaar, medewerkers ,... " } + }, + { + "if": "access=permissive", + "then": { + "en": "This charging station is accessible to the public during certain hours or conditions. Restrictions might apply, but general use is allowed." + } } ] },