Correct phone URL, add phone URL on location

This commit is contained in:
Midgard 2021-07-17 20:33:07 +02:00
parent e82742eb62
commit 4a96c0c286
Signed by: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 3 additions and 3 deletions

View file

@ -7,8 +7,8 @@
<div class="row location_data" xmlns="http://www.w3.org/1999/html">
<div class="col-md-push-1 col-md-5 darker">
<h3>{{ location.name }}</h3>
{% if location.address %}<span class="glyphicon glyphicon-home"></span> {{ location.address }}<br/>{% endif %}
{% if location.telephone %}<span class="glyphicon glyphicon-phone"></span>{{ location.telephone }}<br/>{% endif %}
{% if location.address %}<span class="glyphicon glyphicon-home"></span>{{ location.address }}<br/>{% endif %}
{% if location.telephone %}<span class="glyphicon glyphicon-phone"></span><a href="tel:{{ location.telephone }}">{{ location.telephone }}</a><br/>{% endif %}
{% if location.website %}<span class="glyphicon glyphicon-link"></span> <a href="{{ location.website}}">{{ location.website }}</a> <br/>{% endif %}
{% if location.osm %}<span class="glyphicon glyphicon-map-marker"></span> <a href="{{ location.osm}}">{{ location.osm }}</a> <br/>{% endif %}
{% if not current_user.is_anonymous() %}

View file

@ -196,7 +196,7 @@
{% if order.location.telephone %}
<div>
<dt>Telephone</dt>
<dd><a href="tel://{{ order.location.telephone }}">{{ order.location.telephone }}</a></dd>
<dd><a href="tel:{{ order.location.telephone }}">{{ order.location.telephone }}</a></dd>
</div>
{% endif %}