Merge branch 'master' into feature/104/show-map-on-location-page
This commit is contained in:
commit
6327809bbd
2 changed files with 6 additions and 2 deletions
|
@ -10,7 +10,9 @@
|
|||
<span class="glyphicon glyphicon-home"></span> {{ location.address }} <br/>
|
||||
<span class="glyphicon glyphicon-phone"></span> {{ location.telephone }} <br/>
|
||||
<span class="glyphicon glyphicon-link"></span> <a href="{{ location.website}}">{{ location.website }}</a>
|
||||
<a href="{{ url_for("order_bp.orders", location_id=location.id) }}" class="btn btn-primary btn-sm">Create order</a>
|
||||
{% if not current_user.is_anonymous() %}
|
||||
<a href="{{ url_for("order_bp.orders", location_id=location.id) }}" class="btn btn-primary btn-sm">Create order</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-push-1 col-md-5 padding-top">
|
||||
{% if location.address %}
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
<td>{{ loc.address }}<td>
|
||||
<td><a href="{{ loc.website}}"><span class="glyphicon glyphicon-link"></span></a></td>
|
||||
<td>
|
||||
<a href="{{ url_for("order_bp.orders", location_id=loc.id) }}" class="btn btn-primary btn-xs">Create order</a>
|
||||
{% if not current_user.is_anonymous() %}
|
||||
<a href="{{ url_for("order_bp.orders", location_id=loc.id) }}" class="btn btn-primary btn-xs">Create order</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Reference in a new issue