From 9614ac2958ab9c3a0d044d835ab528b70d9c1093 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 28 Apr 2019 22:40:30 +1000 Subject: [PATCH] Move attachments list to attachments tab --- InvenTree/part/templates/part/attachments.html | 10 ++++++++++ InvenTree/part/templates/part/part_base.html | 7 ------- InvenTree/part/templates/part/tabs.html | 17 ++++++++++------- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/InvenTree/part/templates/part/attachments.html b/InvenTree/part/templates/part/attachments.html index 04041dd7b4..b6339c23c7 100644 --- a/InvenTree/part/templates/part/attachments.html +++ b/InvenTree/part/templates/part/attachments.html @@ -11,6 +11,16 @@ + + + + +{% for attachment in part.attachments.all %} + + + + +{% endfor %}
FileComment
{{ attachment.basename }}{{ attachment.comment }}
{% endblock %} diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index 79be275307..a1b4ddc2d1 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -66,13 +66,6 @@ {% endif %} - -

Attachments

- diff --git a/InvenTree/part/templates/part/tabs.html b/InvenTree/part/templates/part/tabs.html index 5aee846ebd..2bcf894b2a 100644 --- a/InvenTree/part/templates/part/tabs.html +++ b/InvenTree/part/templates/part/tabs.html @@ -1,6 +1,15 @@