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/products/list_rows.html | 55 +++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 servo/templates/products/list_rows.html (limited to 'servo/templates/products/list_rows.html') diff --git a/servo/templates/products/list_rows.html b/servo/templates/products/list_rows.html new file mode 100755 index 0000000..a753687 --- /dev/null +++ b/servo/templates/products/list_rows.html @@ -0,0 +1,55 @@ +{% load i18n %} +{% load servo_tags %} +{% for p in products %} +{% with p.get_pk as product_id %} + + {{ product }} + + {{ p.code }}
+ {{ p.title }}
{{ p.eee_code|default:""|addspace }} + + {{ p.price_sales_stock|currency }} + {{ p.price_sales_exchange|currency }} + {% if p.is_service %} + ∞ + {% else %} + {{ p|amount_in_location:request.user }} + {% endif %} + +
+ {% if perms.servo.change_product %} + + {% else %} + + {% endif %} + + +
+ + +{% endwith %} +{% empty %} +{% trans "No products found" %} +{% endfor %} -- cgit v1.2.3