Deactivate 'Devices Lots Spreadsheet' in unassigned list

This commit is contained in:
Cayo Puigdefabregas 2022-07-20 11:31:54 +02:00
parent 02404c4277
commit 5d573e2305
1 changed files with 7 additions and 0 deletions

View File

@ -247,10 +247,17 @@
</a>
</li>
<li>
{% if unassigned_devices %}
<span class="dropdown-item" style="color: #999ea4;">
<i class="bi bi-file-spreadsheet"></i>
Devices Lots Spreadsheet
</span>
{% else %}
<a href="javascript:export_file('devices_lots')" class="dropdown-item">
<i class="bi bi-file-spreadsheet"></i>
Devices Lots Spreadsheet
</a>
{% endif %}
</li>
<li>
<a href="javascript:export_file('certificates')" class="dropdown-item">