diff --git a/ereuse_devicehub/templates/inventory/device_detail.html b/ereuse_devicehub/templates/inventory/device_detail.html index 875d3508..b233c3ad 100644 --- a/ereuse_devicehub/templates/inventory/device_detail.html +++ b/ereuse_devicehub/templates/inventory/device_detail.html @@ -19,6 +19,18 @@

{{ placeholder.device.devicehub_id }}

+
+ {% if placeholder.status in ['Abstract', 'Real'] %} + + Binding + + {% elif placeholder.status == 'Twin' %} + + Unbinding + + {% endif %} +
+