Browse Source

buildings-start_date: show 'unknown' when no start_date set

places
parent
commit
d7e98c24d5
  1. 4
      buildings-start_date.json

4
buildings-start_date.json

@ -45,11 +45,15 @@
"description": [ "description": [
"{% if tags.start_date %}", "{% if tags.start_date %}",
"{{ tags.start_date|osmFormatDate({ format: 'short' }) }}", "{{ tags.start_date|osmFormatDate({ format: 'short' }) }}",
"{% else %}",
"{{ trans('unknown') }}",
"{% endif %}" "{% endif %}"
], ],
"popupDescription": [ "popupDescription": [
"{% if tags.start_date %}", "{% if tags.start_date %}",
"{{ tags.start_date|osmFormatDate }}", "{{ tags.start_date|osmFormatDate }}",
"{% else %}",
"{{ trans('unknown') }}",
"{% endif %}" "{% endif %}"
], ],
"markerSymbol": null, "markerSymbol": null,

Loading…
Cancel
Save