diff --git a/ereuse_devicehub/templates/inventory/device_detail.html b/ereuse_devicehub/templates/inventory/device_detail.html index 9bab1528..461a6e2a 100644 --- a/ereuse_devicehub/templates/inventory/device_detail.html +++ b/ereuse_devicehub/templates/inventory/device_detail.html @@ -125,15 +125,27 @@
Status Details
Physical State
-
{{ device.physical or '' }}
+
+ {% if device.physical_status %} + {{ device.physical_status.type }} + {% endif %} +
Lifecycle States
-
{{ device.last_action_trading or ''}}
+
+ {% if device.status %} + {{ device.status.type }} + {% endif %} +
Allocated States
-
{{ device.usage or '' }}
+
+ {% if device.allocated_status %} + {{ device.allocated_status.type }} + {% endif %} +