From d7e98c24d5c2c75952e8ef5a6654af304a2681d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Mon, 14 Jan 2019 16:35:32 +0100 Subject: [PATCH] buildings-start_date: show 'unknown' when no start_date set --- buildings-start_date.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildings-start_date.json b/buildings-start_date.json index e3b11bf..bac2e32 100644 --- a/buildings-start_date.json +++ b/buildings-start_date.json @@ -45,11 +45,15 @@ "description": [ "{% if tags.start_date %}", "{{ tags.start_date|osmFormatDate({ format: 'short' }) }}", + "{% else %}", + "{{ trans('unknown') }}", "{% endif %}" ], "popupDescription": [ "{% if tags.start_date %}", "{{ tags.start_date|osmFormatDate }}", + "{% else %}", + "{{ trans('unknown') }}", "{% endif %}" ], "markerSymbol": null,