From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/customers/search.html | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 servo/templates/customers/search.html (limited to 'servo/templates/customers/search.html') diff --git a/servo/templates/customers/search.html b/servo/templates/customers/search.html new file mode 100755 index 0000000..39cccb8 --- /dev/null +++ b/servo/templates/customers/search.html @@ -0,0 +1,44 @@ +{% extends "two_column_layout.html" %} +{% load i18n %} + +{% block toolbar %} + {% trans "New Customer" %} +{% endblock toolbar %} + +{% block first_column %} + +{% endblock first_column %} + +{% block second_column %} +{% if customers %} +{% for i in customers %} +
+ {{ i.fullname }}
+ {% if i.street_address %} + {{ i.street_address }}
+ {{ i.zip_code }}, {{ i.city }}
+ {% endif %} + {% if i.phone %} + P: {{ i.phone }} + {% endif %} + {% if i.email %} +
+ {{ i.email }} + {% endif %} +
+
+{% endfor %} +{% else %} +

{% trans "No customers found" %}

+{% endif %} +{% endblock second_column %} + +{% block crumbs %} +
  • {% trans "Customers" %} /
  • +
  • {{ title }}
  • +{% endblock crumbs %} -- cgit v1.2.3