You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: product_portfolio/templates/product_portfolio/product_details.html
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,15 @@
48
48
{% endif %}
49
49
{% if has_scan_all_packages %}
50
50
<divclass="dropdown-header">Scan</div>
51
-
<aclass="dropdown-item{% if not tabsets.Inventory %} disabled{% endif %}" href="#" data-bs-toggle="modal" data-bs-target="#scan-all-packages-modal"><iclass="fas fa-barcode"></i> {% trans 'Scan all Packages' %}</a>
51
+
<aclass="dropdown-item{% if not tabsets.Inventory %} disabled{% endif %}" href="#" data-bs-toggle="modal" data-bs-target="#scan-all-packages-modal">
<buttontype="button" class="btn btn-outline-dark btn-sm{% if not download_url %} disabled{% endif %}" data-bs-toggle="tooltip" title="{% if download_url %}{% trans 'Submit Scan Request' %}{% else %}{% trans 'Download URL not available' %}{% endif %}"><iclass="fas fa-barcode"></i> Scan</button>
153
+
<spandata-bs-toggle="tooltip" title="{% if download_url %}{% trans 'Submit Scan Request' %}{% else %}{% trans 'Download URL not available' %}{% endif %}">
154
+
<buttontype="button" class="btn btn-outline-dark btn-sm{% if not download_url %} disabled{% endif %}">
0 commit comments