diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-11-02 21:21:06 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-11-02 21:21:06 +0200 |
commit | 5017f7b2e2e5fb5c5290340a0d103b24fc076210 (patch) | |
tree | 6f49c516df616ea75c3623221a6c4094fb33ad20 /servo/templates | |
parent | 2caa3b4076d453e868716b35e778660f6b52cbd4 (diff) | |
download | Servo-5017f7b2e2e5fb5c5290340a0d103b24fc076210.tar.gz Servo-5017f7b2e2e5fb5c5290340a0d103b24fc076210.tar.bz2 Servo-5017f7b2e2e5fb5c5290340a0d103b24fc076210.zip |
Added settings GSX repair status
Diffstat (limited to 'servo/templates')
-rwxr-xr-x | servo/templates/orders/repair.html | 48 |
1 files changed, 28 insertions, 20 deletions
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 %} <h3>{{ status }}</h3> -<dl class="dl-horizontal"> - <dt>{% trans "Symptom" %}</dt> - <dd>{{ repair.symptom }}</dd> - <dt>{% trans "Diagnosis" %}</dt> - <dd>{{ repair.diagnosis }}</dd> - <dt>{% trans "Request Review" %}</dt> - <dd>{{ repair.request_review|yesno }}</dd> -{% if repair.attachment %} - <dt>{% trans "Attachment" %}</dt> - {% with repair.attachment as a %} - <dd><a class="label label-info window" href="{{ a.url }}"><i class="icon-download icon-white"></i> {{ a }}</a></dd> - {% endwith %} -{% endif %} - <dt>{% trans "Confirmation" %}</dt> - <dd>{{ repair.confirmation }}</dd> - <dt>{% trans "Reference" %}</dt> - <dd>{{ repair.reference }}</dd> - <dt>{% trans "Notes" %}</dt> - <dd>{{ notes|default:"-"|linebreaks }}</dd> -</dl> +<form method="post" action=""> + {% csrf_token %} + <dl class="dl-horizontal"> + <dt>{% trans "Symptom" %}</dt> + <dd>{{ repair.symptom|default:'-' }}</dd> + <dt>{% trans "Diagnosis" %}</dt> + <dd>{{ repair.diagnosis|default:'-' }}</dd> + <dt>{% trans "Request Review" %}</dt> + <dd>{{ repair.request_review|yesno }}</dd> + {% if repair.attachment %} + <dt>{% trans "Attachment" %}</dt> + {% with repair.attachment as a %} + <dd><a class="label label-info window" href="{{ a.url }}"><i class="icon-download icon-white"></i> {{ a }}</a></dd> + {% endwith %} + {% endif %} + <dt>{% trans "Confirmation" %}</dt> + <dd>{{ repair.confirmation|default:'-' }}</dd> + <dt>{% trans "Reference" %}</dt> + <dd>{{ repair.reference|default:'-' }}</dd> + <dt>{% trans "Notes" %}</dt> + <dd>{{ notes|default:"-"|linebreaks }}</dd> + <dt>{% trans "Status" %}</dt> + <dd>{{ status_form.status }}</dd> + </dl> + <button type="submit" class="btn btn-primary pull-right">{% trans "Update" %}</button> +</form> +<br/> +<h4>{% trans "Parts" %}</h4> <table class="table"> <tbody> {% for part in parts %} |