diff --git a/ereuse_devicehub/templates/inventory/erasure.html b/ereuse_devicehub/templates/inventory/erasure.html index bbb870b1..76df0694 100644 --- a/ereuse_devicehub/templates/inventory/erasure.html +++ b/ereuse_devicehub/templates/inventory/erasure.html @@ -359,6 +359,7 @@
Data storage:
{{ erasure.device.__format__('ts') }}
+ {% if erasure.parent %}
Computer where was erase:
Title: {{ erasure.parent.__format__('ts') }}
DevicehubID: {{ erasure.parent.dhid }}
@@ -370,6 +371,7 @@
DevicehubID: {{ erasure.device.parent.dhid }}
Hid: {{ erasure.device.parent.hid }}
Tags: {{ erasure.device.parent.tags }}
+ {% endif %}
Erasure:
{{ erasure.__format__('ts') }}