From 0c71688b616af725abba9ebbd6b234ea4a6d0c06 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sat, 28 Nov 2015 17:58:34 +0200 Subject: Added local GSX repair deletion to device view --- servo/templates/devices/view.html | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'servo/templates/devices/view.html') diff --git a/servo/templates/devices/view.html b/servo/templates/devices/view.html index 51a30c1..8234cd7 100755 --- a/servo/templates/devices/view.html +++ b/servo/templates/devices/view.html @@ -56,17 +56,36 @@
- {% if perms.servo.change_device %} + {% if perms.servo.change_device %} {% trans "Edit" %} - {% endif %} + {% endif %}
{% include "orders/list.html" with orders=device.order_set.all %} +
+

{% trans "Local GSX repairs" %}

+ + + {% for r in device.repair_set.all %} + + + + + + + + {% empty %} + + + + {% endfor %} + +
{{ r.confirmation }}{{ r.created_at|date }}{{ r.created_by }}{{ r.get_status }}
{% trans "No local GSX repairs found" %}
{% if device.is_apple_device %}
-
+
-- cgit v1.2.3