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/devices/view.html | 83 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100755 servo/templates/devices/view.html (limited to 'servo/templates/devices/view.html') diff --git a/servo/templates/devices/view.html b/servo/templates/devices/view.html new file mode 100755 index 0000000..fd6d3a9 --- /dev/null +++ b/servo/templates/devices/view.html @@ -0,0 +1,83 @@ +{% extends "devices/index.html" %} +{% load servo_tags %} +{% load i18n %} + +{% block fourth_column %} + +
+
+ {% include "devices/summary.html" %} +
+ {% if request.session.current_order_id and device.id %} + {% trans "Use in" %} #{{ request.session.current_order_code }} + {% else %} + {% trans "Use in current order" %} + {% endif %} + {% if device.pk %} + {% trans "Create Service Order" %} + {% endif %} +
+ + + + +
+
+ {% if perms.servo.change_device %} + {% trans "Edit" %} + {% endif %} +
+
+
+ {% include "orders/list.html" with orders=device.order_set.all %} +
+ {% if device.is_apple_device %} +
+
+
+
+
+

{% trans "Fetching repairs..." %}

+
+
+ {% endif %} +
+{% endblock fourth_column %} + + +{% block path %} +
  • / {{ device.description }}
  • +{% endblock path %} -- cgit v1.2.3