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

{{ device.description }}

+
+
{% trans "Warranty Status" %}
+
{{ device.get_warranty_status_display }}
+
{% trans "Purchase Date" %}
+
{{ device.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ device.get_purchase_country|default:"-" }}
+
{% trans "Serial Number" %}
+
{{ device.sn|default:"-" }}
+ {% if device.configuration %} +
{% trans "Configration" %}
+
{{ device.configuration }}
+ {% endif %} + {% if device.username %} +
{% trans "Username" %}
+
{{ device.username }}
+ {% endif %} + {% if device.password %} +
{% trans "Password" %}
+
{{ device.password }}
+ {% endif %} + {% if device.imei %} +
{% trans "IMEI" %}
+
{{ device.imei }}
+
{% trans "Applied Activation Policy" %}
+
{{ device.applied_activation_policy }}
+
{% trans "Initial Activation Policy" %}
+
{{ device.initial_activation_policy }}
+
{% trans "Find My iPhone" %}
+
{{ device.get_fmip_status }}
+
{% trans "Unlocked" %}
+
{{ device.unlocked }}
+ {% endif %} + {% if device.notes %} +
{% trans "Notes" %}
+
{{ device.notes }}
+ {% endif %} +
+ {% for t in device.tags.all %} + {{ t.tag }} + {% endfor %} +
+
-- cgit v1.2.3