diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 249d3d17..8b5f030f 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -33,8 +33,34 @@
-
-

{{ lot.name }}

+
+ +
+ {% if lot and lot.is_temporary and not lot.devices %} + + + Remove Lot + + {% endif %} +
+
+ {% if lot and lot.is_temporary %} + + + Add selected Devices to a lot + + {% endif %} +
+
+ {% if lot and lot.is_temporary %} + + + Remove selected devices from a lot + + {% endif %} +