From ab498dbeb038b12e911fc73f2a3791fcd851029b Mon Sep 17 00:00:00 2001 From: Nathan Hartley Date: Sun, 8 Jan 2023 21:26:00 -0500 Subject: [PATCH] Hide operator if not populated. --- paddling_hazards.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/paddling_hazards.yaml b/paddling_hazards.yaml index 2368290..fe6c71a 100644 --- a/paddling_hazards.yaml +++ b/paddling_hazards.yaml @@ -25,8 +25,10 @@ feature:
{{ keyTrans('Description') }}
{{ localizedTag(tags, 'description') }}
-
{{ keyTrans('Operator') }}
-
{{ attribute(tags, 'operator') ? tagTrans('operator', attribute(tags, 'operator')) : '' }}
+ {% if attribute(tags, 'operator') %} +
{{ keyTrans('Operator') }}
+
{{ attribute(tags, 'operator') ? tagTrans('operator', attribute(tags, 'operator')) : '' }}
+ {% endif %} {% if attribute(tags, 'mapillary') %}