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/search_gsx_warranty.html | 71 ++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100755 servo/templates/devices/search_gsx_warranty.html (limited to 'servo/templates/devices/search_gsx_warranty.html') diff --git a/servo/templates/devices/search_gsx_warranty.html b/servo/templates/devices/search_gsx_warranty.html new file mode 100755 index 0000000..e278001 --- /dev/null +++ b/servo/templates/devices/search_gsx_warranty.html @@ -0,0 +1,71 @@ +{% load i18n %} + +{% for d in results %} +
+
+ {{ d.description }} +
+
+

{{ d.description }}

+ {% if d.tags %} + {% for t in d.tags.all %}{{ t.tag }}{% endfor %} + {% endif %} +
+
{% trans "Warranty Status" %}
+
{{ d.get_warranty_status_display }}
+
{% trans "Purchase Date" %}
+
{{ d.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ d.purchase_country|default:"-" }}
+
{% trans "Serial Number" %}
+
{{ d.sn }}
+
{% trans "Configration" %}
+
{{ d.configuration }}
+ {% if d.imei %} +
{% trans "IMEI" %}
+
{{ d.imei|safe }}
+
{% trans "Applied Activation Policy" %}
+
{{ d.applied_activation_policy }}
+
{% trans "Initial Activation Policy" %}
+
{{ d.initial_activation_policy }}
+
{% trans "Next Tether Policy" %}
+
{{ d.next_tether_policy }}
+
{% trans "Find My iPhone" %}
+
{{ d.get_fmip_status }}
+
{% trans "Unlocked" %}
+
{{ d.unlocked|yesno }}
+ {% endif %} + {% if d.repeat_service %} + {% with d.repeat_service as order %} +
{% trans "Sales Order" %}
+
{{ d.repeat_service.code }} ({{ order.created_at|date:"SHORT_DATE_FORMAT" }})
+ {% endwith %} + {% endif %} + {% if d.get_coverage_details %} +
{% trans "Details" %}
+
{{ d.get_coverage_details|join:"
" }}
+ {% endif %} + {% if d.has_onsite %} +
{% trans "Onsite Coverage" %}
+
{{ d.onsite_start_date }} - {{ d.onsite_end_date }}
+ {% endif %} + {% if d.contract_start_date %} +
{% trans "Contract Coverage" %}
+
{{ d.contract_start_date }} - {{ d.contract_end_date }}
+ {% endif %} + {% if d.notes %} +
{% trans "Notes" %}
+
{{ d.notes }}
+ {% endif %} +
+
+ {% if request.session.current_order_id %} + {% with request.session.current_order_id as co %} + {% trans "Use in order" %} #{{ request.session.current_order_code }} + {% endwith %} + {% endif %} + {% trans "Create Service Order" %} + {% if d.manual_url %} + {% trans "Download Manual" %} + {% endif %} +
+
+{% endfor %} -- cgit v1.2.3