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/get_info.html | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 servo/templates/devices/get_info.html (limited to 'servo/templates/devices/get_info.html') diff --git a/servo/templates/devices/get_info.html b/servo/templates/devices/get_info.html new file mode 100755 index 0000000..e16b1c5 --- /dev/null +++ b/servo/templates/devices/get_info.html @@ -0,0 +1,45 @@ +{% extends "modal.html" %} +{% load i18n %} + +{% block header %} +{{ device.description }} +{% endblock header %} + +{% block body %} +
+
{% trans "Warranty Status" %}
+
{{ device.get_warranty_status_display }}
+
{% trans "Purchase Date" %}
+
{{ device.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ device.purchase_country|default:"-" }}
+
{% trans "Serial Number" %}
+
{{ device.sn }}
+ {% if device.configuration %} +
{% trans "Configration" %}
+
{{ device.configuration }}
+ {% endif %} + {% if device.imei %} +
IMEI
+
{{ device.imei }}
+
{% trans "Activation Profile" %}
+
{{ device.initial_activation_policy }}
+
{% trans "Unlocked" %}
+
{{ device.unlocked|yesno }}
+ {% endif %} + {% if device.username %} +
{% trans "Username" %}
+
{{ device.username }}
+ {% endif %} + {% if device.password %} +
{% trans "Password" %}
+
{{ device.password }}
+ {% endif %} + {% if device.get_coverage_details %} +
{% trans "Details" %}
+
{{ device.get_coverage_details|join:"
" }}
+ {% endif %} + {% if device.notes %} +
{% trans "Notes" %}
+
{{ device.notes }}
+ {% endif %} +
+{% endblock body %} -- cgit v1.2.3