diff --git a/device/templates/details.html b/device/templates/details.html index d0e9c02..8477948 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -1,245 +1,254 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load i18n %} {% block content %} -
-
-

{{ object.shortid }}

-
-
- -
-
- -
-
-
- -
-
{% trans "Details" %}
-
-
Phid
-
{{ object.id }}
+
+
+

{{ object.shortid }}

- - {% if object.is_eraseserver %} -
-
{% trans "Is a erase server" %}
-
-
- {% endif %} - -
-
{% trans "Type" %}
-
{{ object.type }}
-
- - {% if object.is_websnapshot %} - {% for k, v in object.last_user_evidence %} -
-
{{ k }}
-
{{ v|default:"" }}
-
- {% endfor %} - {% else %} -
-
Manufacturer
-
{{ object.manufacturer|default:"" }}
-
- -
-
Model
-
{{ object.model|default:"" }}
-
- -
-
Serial Number
-
{{ object.last_evidence.doc.device.serialNumber|default:"" }}
-
- {% endif %} -
-
Identifiers
-
- {% for chid in object.hids %} -
-
{{ chid |default:"" }}
-
- {% endfor %}
-
-