From 05856a72cfdfc3344fd060f05b11a8dd9f7a6e16 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 16 May 2020 23:56:50 +1000 Subject: [PATCH] UI cleanup --- InvenTree/stock/templates/stock/item.html | 3 ++- InvenTree/stock/templates/stock/item_attachments.html | 2 +- InvenTree/stock/templates/stock/item_notes.html | 1 + InvenTree/stock/templates/stock/item_tests.html | 2 +- InvenTree/stock/templates/stock/tabs.html | 8 +++++--- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/InvenTree/stock/templates/stock/item.html b/InvenTree/stock/templates/stock/item.html index 517acb15fe..f72c910981 100644 --- a/InvenTree/stock/templates/stock/item.html +++ b/InvenTree/stock/templates/stock/item.html @@ -8,8 +8,9 @@ {% include "stock/tabs.html" with tab="tracking" %} -

{% trans "Stock Tracking Information" %}

+
+
diff --git a/InvenTree/stock/templates/stock/item_attachments.html b/InvenTree/stock/templates/stock/item_attachments.html index 453ab7f09b..3861bebe6a 100644 --- a/InvenTree/stock/templates/stock/item_attachments.html +++ b/InvenTree/stock/templates/stock/item_attachments.html @@ -7,8 +7,8 @@ {% include "stock/tabs.html" with tab='attachments' %} -

{% trans "Stock Item Attachments" %}

+
{% include "attachment_table.html" with attachments=item.attachments.all %} diff --git a/InvenTree/stock/templates/stock/item_notes.html b/InvenTree/stock/templates/stock/item_notes.html index 31e818ef71..9dd21331b4 100644 --- a/InvenTree/stock/templates/stock/item_notes.html +++ b/InvenTree/stock/templates/stock/item_notes.html @@ -10,6 +10,7 @@ {% include "stock/tabs.html" with tab="notes" %} {% if editing %} +

{% trans "Stock Item Notes" %}


diff --git a/InvenTree/stock/templates/stock/item_tests.html b/InvenTree/stock/templates/stock/item_tests.html index 9172bfdde4..a3e21962e1 100644 --- a/InvenTree/stock/templates/stock/item_tests.html +++ b/InvenTree/stock/templates/stock/item_tests.html @@ -7,8 +7,8 @@ {% include "stock/tabs.html" with tab='tests' %} -

{% trans "Test Results" %}

+
diff --git a/InvenTree/stock/templates/stock/tabs.html b/InvenTree/stock/templates/stock/tabs.html index ce14511b8a..5ec75ddc28 100644 --- a/InvenTree/stock/templates/stock/tabs.html +++ b/InvenTree/stock/templates/stock/tabs.html @@ -1,9 +1,6 @@ {% load i18n %} \ No newline at end of file