From 656e473a792ca94533e3a7b77929b8a0a57201a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?=
 <plepe@noreply.openstreetbrowser.org>
Date: Fri, 19 Jul 2019 09:13:03 +0200
Subject: [PATCH] climbing: description, body

---
 climbing.json | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/climbing.json b/climbing.json
index 2624bc3..1ed76aa 100644
--- a/climbing.json
+++ b/climbing.json
@@ -11,5 +11,36 @@
             "nwr[climbing~\"^(route|crag|boulder)$\"];",
             ")"
         ]
+    },
+    "feature": {
+        "description": [
+            "{% set dash = false %}",
+            "{% if tags.leisure == 'sports_centre' %}",
+            "  {{ tagTrans('leisure', 'sports_centre') }}",
+            " {% set dash=true %}",
+            "{% endif %}",
+            "",
+            "{% if tags.highway == 'via_ferrata' %}",
+            "  {% if dash %} - {% endif %}",
+            "  {{ tagTrans('highway', 'via_ferrata') }}",
+            "  {% set dash=true %}",
+            "{% endif %}",
+            "",
+            "{% if tags.natural %}",
+            "  {% if dash %} - {% endif %}",
+            "  {{ tagTransList('natural', tags.natural) }}",
+            "  {% set dash=true %}",
+            "{% endif %}",
+            "",
+            "{% if tags.climbing and tags.climbing != 'yes' %}",
+            "  {% if dash %} - {% endif %}",
+            "  {{ tagTransList('climbing', tags.climbing) }}",
+            "{% endif %}"
+        ],
+        "body": [
+            "{{ tags|json_encode }}",
+            "",
+            "{% if tags.via_ferrata_scale %}{{ keyTrans('via_ferrata_scale') }}: {{ tags.via_ferrata_scale }}{% endif %}<br/>"
+        ]
     }
 }