diff --git a/InvenTree/build/templates/build/allocation_item.html b/InvenTree/build/templates/build/allocation_item.html index ebe05ce4d4..266cb0a874 100644 --- a/InvenTree/build/templates/build/allocation_item.html +++ b/InvenTree/build/templates/build/allocation_item.html @@ -6,7 +6,7 @@ {% block collapse_panel_setup %}class='panel part-allocation' id='allocation-panel-{{ item.sub_part.id }}'{% endblock %} {% block collapse_title %} - {% include "hover_image.html" with image=item.sub_part.image %} + {% include "hover_image.html" with image=item.sub_part.image hover=false %}
{{ item.sub_part.full_name }} {{ item.sub_part.description }} diff --git a/InvenTree/templates/hover_image.html b/InvenTree/templates/hover_image.html index 0853c4fc12..4ee9f67b2c 100644 --- a/InvenTree/templates/hover_image.html +++ b/InvenTree/templates/hover_image.html @@ -1,12 +1,12 @@ {% load static %} -
- {% if image %} + \ No newline at end of file