diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-17 00:04:06 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-17 00:04:06 +0300 |
commit | e685924bf5b080922643b221f6396af24080aca2 (patch) | |
tree | 9b3dee8fc87d8683a91cc64bede73da7f4f8dcd6 /servo/templates/orders | |
parent | 4ad019a3921f6e841fda06e9eb284cd872164fb9 (diff) | |
download | Servo-e685924bf5b080922643b221f6396af24080aca2.tar.gz Servo-e685924bf5b080922643b221f6396af24080aca2.tar.bz2 Servo-e685924bf5b080922643b221f6396af24080aca2.zip |
Added callto:// button to phone number
Diffstat (limited to 'servo/templates/orders')
-rwxr-xr-x | servo/templates/orders/customer.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/servo/templates/orders/customer.html b/servo/templates/orders/customer.html index ccd9184..e6ab94b 100755 --- a/servo/templates/orders/customer.html +++ b/servo/templates/orders/customer.html @@ -30,7 +30,9 @@ <a href="{% url 'notes-create_with_to_and_order' recipient=node.email order_id=order.id %}">{{ node.email }}</a><br/> {% endif %} {% if node.phone %} - <a href="{% url 'notes-create_with_to_and_order' recipient=node.get_standard_phone order_id=order.id %}">{{ node.get_national_phone }}</a><br/> + {% with node.get_standard_phone as standard_phone %} + <a href="{% url 'notes-create_with_to_and_order' recipient=standard_phone order_id=order.id %}">{{ node.get_national_phone }}</a> <a class="btn btn-mini" href="callto://{{ standard_phone }}"><i class="icon-headphones"></i></a><br/> + {% endwith %} {% endif %} {% if node.street_address %} {{ node.street_address }}<br/> |