diff --git a/ereuse_devicehub/inventory/views.py b/ereuse_devicehub/inventory/views.py index 52a1a04a..d45b93ec 100644 --- a/ereuse_devicehub/inventory/views.py +++ b/ereuse_devicehub/inventory/views.py @@ -143,6 +143,7 @@ class DeviceDetailView(GenericMixin): self.context.update( { 'device': device, + 'placeholder': device.binding or device.placeholder, 'page_title': 'Device {}'.format(device.devicehub_id), } ) diff --git a/ereuse_devicehub/templates/inventory/device_detail.html b/ereuse_devicehub/templates/inventory/device_detail.html index 2da9cd31..bf3e8185 100644 --- a/ereuse_devicehub/templates/inventory/device_detail.html +++ b/ereuse_devicehub/templates/inventory/device_detail.html @@ -23,9 +23,15 @@