Browse Source

Merge branch 'osm-date-format'

pedestrian
parent
commit
3e43bed0ff
  1. 11
      buildings-start_date.json
  2. 4
      detailsBody.html
  3. 4
      popupBody.html

11
buildings-start_date.json

@ -45,7 +45,16 @@
], ],
"description": [ "description": [
"{% if tags.start_date %}", "{% if tags.start_date %}",
"{{ 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 %}" "{% endif %}"
], ],
"markerSymbol": null, "markerSymbol": null,

4
detailsBody.html

@ -145,7 +145,7 @@
<li class='hasSymbol'> <li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i> <i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('start_date') }}:</span> <span class='key'>{{ keyTrans('start_date') }}:</span>
<span class='value'>{{ enumerate(tags.start_date) }}</span>
<span class='value'>{{ tags.start_date|osmFormatDate }}</span>
</li> </li>
{% endif %} {% endif %}
@ -153,7 +153,7 @@
<li class='hasSymbol'> <li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i> <i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('opening_date') }}:</span> <span class='key'>{{ keyTrans('opening_date') }}:</span>
<span class='value'>{{ enumerate(tags.opening_date) }}</span>
<span class='value'>{{ tags.opening_date|osmFormatDate }}</span>
</li> </li>
{% endif %} {% endif %}

4
popupBody.html

@ -151,7 +151,7 @@
<li class='hasSymbol'> <li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i> <i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('start_date') }}:</span> <span class='key'>{{ keyTrans('start_date') }}:</span>
<span class='value'>{{ enumerate(tags.start_date) }}</span>
<span class='value'>{{ tags.start_date|osmFormatDate }}</span>
</li> </li>
{% endif %} {% endif %}
@ -159,7 +159,7 @@
<li class='hasSymbol'> <li class='hasSymbol'>
<i class="fa fa-clock-o" aria-hidden="true"></i> <i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('opening_date') }}:</span> <span class='key'>{{ keyTrans('opening_date') }}:</span>
<span class='value'>{{ enumerate(tags.opening_date) }}</span>
<span class='value'>{{ tags.opening_date|osmFormatDate }}</span>
</li> </li>
{% endif %} {% endif %}

Loading…
Cancel
Save