From 5017f7b2e2e5fb5c5290340a0d103b24fc076210 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 2 Nov 2016 21:21:06 +0200 Subject: Added settings GSX repair status --- servo/templates/orders/repair.html | 48 ++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 20 deletions(-) (limited to 'servo/templates/orders/repair.html') diff --git a/servo/templates/orders/repair.html b/servo/templates/orders/repair.html index b3798db..6c42ce0 100755 --- a/servo/templates/orders/repair.html +++ b/servo/templates/orders/repair.html @@ -12,26 +12,34 @@ {% block second_column %}

{{ status }}

-
-
{% trans "Symptom" %}
-
{{ repair.symptom }}
-
{% trans "Diagnosis" %}
-
{{ repair.diagnosis }}
-
{% trans "Request Review" %}
-
{{ repair.request_review|yesno }}
-{% if repair.attachment %} -
{% trans "Attachment" %}
- {% with repair.attachment as a %} -
{{ a }}
- {% endwith %} -{% endif %} -
{% trans "Confirmation" %}
-
{{ repair.confirmation }}
-
{% trans "Reference" %}
-
{{ repair.reference }}
-
{% trans "Notes" %}
-
{{ notes|default:"-"|linebreaks }}
-
+
+ {% csrf_token %} +
+
{% trans "Symptom" %}
+
{{ repair.symptom|default:'-' }}
+
{% trans "Diagnosis" %}
+
{{ repair.diagnosis|default:'-' }}
+
{% trans "Request Review" %}
+
{{ repair.request_review|yesno }}
+ {% if repair.attachment %} +
{% trans "Attachment" %}
+ {% with repair.attachment as a %} +
{{ a }}
+ {% endwith %} + {% endif %} +
{% trans "Confirmation" %}
+
{{ repair.confirmation|default:'-' }}
+
{% trans "Reference" %}
+
{{ repair.reference|default:'-' }}
+
{% trans "Notes" %}
+
{{ notes|default:"-"|linebreaks }}
+
{% trans "Status" %}
+
{{ status_form.status }}
+
+ +
+
+

{% trans "Parts" %}

{% for part in parts %} -- cgit v1.2.3