From 5091347c3ee9ef1bb92b3bc4b8b802f48326f30a Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 3 Feb 2016 13:16:21 +0200 Subject: Cleanup --- servo/templates/devices/upload_devices.html | 2 +- servo/templates/devices/view.html | 29 +++++++++++++++-------------- 2 files changed, 16 insertions(+), 15 deletions(-) (limited to 'servo/templates') diff --git a/servo/templates/devices/upload_devices.html b/servo/templates/devices/upload_devices.html index 04cdc47..ba857bf 100755 --- a/servo/templates/devices/upload_devices.html +++ b/servo/templates/devices/upload_devices.html @@ -13,4 +13,4 @@ {% block footer %} {% trans "Download example" %} -{% endblock footer %} \ No newline at end of file +{% endblock footer %} diff --git a/servo/templates/devices/view.html b/servo/templates/devices/view.html index 8234cd7..b2cd3db 100755 --- a/servo/templates/devices/view.html +++ b/servo/templates/devices/view.html @@ -21,9 +21,9 @@ {% else %} {% trans "Use in current order" %} {% endif %} - {% if device.pk %} + {% if device.pk %} {% trans "Create Service Order" %} - {% endif %} + {% endif %}
@@ -62,12 +62,22 @@
- {% include "orders/list.html" with orders=device.order_set.all %} + {% include "orders/list.html" %} +
+ {% if device.is_apple_device %} +
+

{% trans "Submitted GSX repairs" %}

+
+
+
+
+

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

+

{% trans "Local GSX repairs" %}

- {% for r in device.repair_set.all %} + {% for r in repairs %} @@ -77,21 +87,12 @@ {% empty %} - + {% endfor %}
{{ r.confirmation }} {{ r.created_at|date }}
{% trans "No local GSX repairs found" %}{% trans "No local GSX repairs found" %}
- {% if device.is_apple_device %} -
-
-
-
-
-

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

-
-
{% endif %} {% endblock fourth_column %} -- cgit v1.2.3