diff --git a/InvenTree/part/templates/part/attachments.html b/InvenTree/part/templates/part/attachments.html index d0ccaf122d..3e28a31140 100644 --- a/InvenTree/part/templates/part/attachments.html +++ b/InvenTree/part/templates/part/attachments.html @@ -36,6 +36,20 @@ {% endfor %} +{% if part.variant_of and part.variant_of.attachments.count > 0 %} + + + Attachments for template part {{ part.variant_of.full_name }} + + +{% for attachment in part.variant_of.attachments.all %} + + {{ attachment.basename }} + {{ attachment.comment }} + + +{% endfor %} +{% endif %} {% endblock %}