Browse Source

Improved photo list.

master
Nathan Hartley 2 years ago
parent
commit
73b453514f
  1. 5
      paddling_amenities.yaml
  2. 11
      paddling_hazards.yaml

5
paddling_amenities.yaml

@ -52,11 +52,12 @@ feature:
<dt>{{ trans('Photos') }}</dt> <dt>{{ trans('Photos') }}</dt>
<dd> <dd>
<ul>
{% if attribute(tags, 'mapillary') %} {% if attribute(tags, 'mapillary') %}
<a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary</a>
<li><a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary</a></li>
{% endif %} {% endif %}
</ul>
</dd> </dd>
</dl> </dl>
{% endif %} {% endif %}

11
paddling_hazards.yaml

@ -30,10 +30,17 @@ feature:
<dd>{{ attribute(tags, 'operator') ? tagTrans('operator', attribute(tags, 'operator')) : '' }}</dd> <dd>{{ attribute(tags, 'operator') ? tagTrans('operator', attribute(tags, 'operator')) : '' }}</dd>
{% endif %} {% endif %}
</dl>
<dt>{{ trans('Photos') }}</dt>
<dd>
<ul>
{% if attribute(tags, 'mapillary') %} {% if attribute(tags, 'mapillary') %}
<div><a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary Photo</a><div>
<li><a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary</a></li>
{% endif %} {% endif %}
</ul>
</dd>
</dl>
markerSign: '⚠️' markerSign: '⚠️'
priority: |- priority: |-

Loading…
Cancel
Save