From 5d573e2305e7770625491ea4d8d4959de0d88c2d Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 20 Jul 2022 11:31:54 +0200 Subject: [PATCH] Deactivate 'Devices Lots Spreadsheet' in unassigned list --- ereuse_devicehub/templates/inventory/device_list.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 2a4effe2..a511d397 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -247,10 +247,17 @@
  • + {% if unassigned_devices %} + + + Devices Lots Spreadsheet + + {% else %} Devices Lots Spreadsheet + {% endif %}