diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/devices/get_info.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/devices/get_info.html')
-rwxr-xr-x | servo/templates/devices/get_info.html | 45 |
1 files changed, 45 insertions, 0 deletions
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 %} +<dl class="dl-horizontal"> + <dt>{% trans "Warranty Status" %}</dt> + <dd>{{ device.get_warranty_status_display }}</dd> + <dt>{% trans "Purchase Date" %}</dt> + <dd>{{ device.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ device.purchase_country|default:"-" }}</dd> + <dt>{% trans "Serial Number" %}</dt> + <dd>{{ device.sn }}</dd> + {% if device.configuration %} + <dt>{% trans "Configration" %}</dt> + <dd>{{ device.configuration }}</dd> + {% endif %} + {% if device.imei %} + <dt>IMEI</dt> + <dd>{{ device.imei }}</dd> + <dt>{% trans "Activation Profile" %}</dt> + <dd>{{ device.initial_activation_policy }}</dd> + <dt>{% trans "Unlocked" %}</dt> + <dd>{{ device.unlocked|yesno }}</dd> + {% endif %} + {% if device.username %} + <dt>{% trans "Username" %}</dt> + <dd>{{ device.username }}</dd> + {% endif %} + {% if device.password %} + <dt>{% trans "Password" %}</dt> + <dd>{{ device.password }}</dd> + {% endif %} + {% if device.get_coverage_details %} + <dt>{% trans "Details" %}</dt> + <dd>{{ device.get_coverage_details|join:"<br/>" }}</dd> + {% endif %} + {% if device.notes %} + <dt>{% trans "Notes" %}</dt> + <dd>{{ device.notes }}</dd> + {% endif %} +</dl> +{% endblock body %} |