Browse Source

Bodies: use websiteUrl filter for links

fossil
parent
commit
656e2e52f2
  1. 4
      detailsBody.html
  2. 4
      popupBody.html

4
detailsBody.html

@ -18,7 +18,7 @@
<i class="fa fa-globe" aria-hidden="true"></i> <i class="fa fa-globe" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('website') }}:</span> <span class='key'>{{ keyTrans('website') }}:</span>
<span class='value'> <span class='value'>
<a target='_blank' href='{{ tags.website }}'>{{ tags.website }}</a>
<a target='_blank' href='{{ tags.website|websiteUrl }}'>{{ tags.website }}</a>
</span> </span>
</li> </li>
{% endif %} {% endif %}
@ -28,7 +28,7 @@
<i class="fa fa-globe" aria-hidden="true"></i> <i class="fa fa-globe" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('website') }}:</span> <span class='key'>{{ keyTrans('website') }}:</span>
<span class='value'> <span class='value'>
<a target='_blank' href='{{ attribute(tags, 'contact:website') }}'>{{ attribute(tags, 'contact:website') }}</a>
<a target='_blank' href='{{ attribute(tags, 'contact:website')|websiteUrl }}'>{{ attribute(tags, 'contact:website') }}</a>
</span> </span>
</li> </li>
{% endif %} {% endif %}

4
popupBody.html

@ -18,7 +18,7 @@
<i class="fa fa-globe" aria-hidden="true"></i> <i class="fa fa-globe" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('website') }}:</span> <span class='key'>{{ keyTrans('website') }}:</span>
<span class='value'> <span class='value'>
<a target='_blank' href='{{ tags.website }}'>{{ tags.website }}</a>
<a target='_blank' href='{{ tags.website|websiteUrl }}'>{{ tags.website }}</a>
</span> </span>
</li> </li>
{% endif %} {% endif %}
@ -28,7 +28,7 @@
<i class="fa fa-globe" aria-hidden="true"></i> <i class="fa fa-globe" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('website') }}:</span> <span class='key'>{{ keyTrans('website') }}:</span>
<span class='value'> <span class='value'>
<a target='_blank' href='{{ attribute(tags, 'contact:website') }}'>{{ attribute(tags, 'contact:website') }}</a>
<a target='_blank' href='{{ attribute(tags, 'contact:website')|websiteUrl }}'>{{ attribute(tags, 'contact:website') }}</a>
</span> </span>
</li> </li>
{% endif %} {% endif %}

Loading…
Cancel
Save