diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/search/results/customers.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/search/results/customers.html')
-rwxr-xr-x | servo/templates/search/results/customers.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/servo/templates/search/results/customers.html b/servo/templates/search/results/customers.html new file mode 100755 index 0000000..6203598 --- /dev/null +++ b/servo/templates/search/results/customers.html @@ -0,0 +1,26 @@ +{% extends "search/spotlight.html" %} +{% load i18n %} + +{% block second_column %} + {% if customers %} + {% for i in customers %} + <address> + <strong><a href="{% url 'customers-view_customer' i.pk %}">{{ i.name }}</a></strong><br> + {% if i.street_address %} + {{ i.street_address }}<br/> + {{ i.zip_code }}, {{ i.city }}<br/> + {% endif %} + {% if i.phone %} + <abbr title="{% trans "Phone" %}">P:</abbr> {{ i.phone }} + {% endif %} + {% if i.email %} + <br/> + <a href="{% url 'notes-create_to_customer' customer=i.pk %}"><i class="icon-envelope"></i> {{ i.email }}</a> + {% endif %} + </address> + <hr/> + {% endfor %} + {% else %} + <h1 class="muted text-center">{% trans "No customers found" %}</h1> + {% endif %} +{% endblock second_column %} |