diff --git a/ereuse_devicehub/resources/documents/templates/documents/erasure.html b/ereuse_devicehub/resources/documents/templates/documents/erasure.html index b2556500..d8170767 100644 --- a/ereuse_devicehub/resources/documents/templates/documents/erasure.html +++ b/ereuse_devicehub/resources/documents/templates/documents/erasure.html @@ -5,8 +5,6 @@ - - @@ -16,16 +14,6 @@ {% for erasure in erasures %} - {% if erasure.parent.serial_number %} - - {% else %} - - {% endif %} - @@ -51,10 +39,19 @@
Data storage:
{{ erasure.device.__format__('ts') }}
-
Computer:
-
{{ erasure.parent.__format__('ts') }}
-
Tags:
-
{{ erasure.parent.tags }}
+ +
Computer where was erase:
+
Title: {{ erasure.parent.__format__('ts') }}
+
SystemId: {{ erasure.parent.id }}
+
Hid: {{ erasure.parent.hid }}
+
Tags: {{ erasure.parent.tags }}
+ +
Computer where it resides:
+
Title: {{ erasure.device.parent.__format__('ts') }}
+
SystemId: {{ erasure.device.parent.id }}
+
Hid: {{ erasure.device.parent.hid }}
+
Tags: {{ erasure.device.parent.tags }}
+
Erasure:
{{ erasure.__format__('ts') }}
{% if erasure.steps %}
S/NTags S/N Data Storage Type of erasure Result
- {{ erasure.parent.serial_number.upper() }} - - {{ erasure.parent.tags.__format__('') }} - {{ erasure.device.serial_number.upper() }}