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/orders/toolbar.html | 116 ++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100755 servo/templates/orders/toolbar.html (limited to 'servo/templates/orders/toolbar.html') diff --git a/servo/templates/orders/toolbar.html b/servo/templates/orders/toolbar.html new file mode 100755 index 0000000..4bd9fef --- /dev/null +++ b/servo/templates/orders/toolbar.html @@ -0,0 +1,116 @@ +{% load cache %} +{% load i18n %} + +
+{% if order.is_editable %} + {% trans "Add Note" %} +{% else %} + {% trans "Add Note" %} +{% endif %} + + + + +
+
+ {% trans "Print" %} + + +
+
+ + {{ order.get_queue }} + + +
+
+ + {{ order.get_status|truncatechars:25 }} + + +
+
+{% if order.can_dispatch %} + {% trans "Dispatch" %} +{% else %} + {% trans "Dispatch" %} +{% endif %} +{% if perms.servo.change_order and order.can_close %} + {% trans "Close" %} +{% elif perms.servo.delete_order and order.is_closed %} + {% trans "Reopen" %} +{% else %} + {% trans "Close" %} +{% endif %} +
+
+ + + + +
-- cgit v1.2.3