From b6cace268158acb3030575708f4a9e5ab9aab4ae Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 4 May 2019 16:41:45 +1000 Subject: [PATCH] Add 'options' drop-down for Part table in Category view - Doesn't do anything yet --- InvenTree/part/templates/part/category.html | 16 +++++++++++++++- InvenTree/stock/templates/stock/location.html | 5 ++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index f199cc5981..d03d18be44 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -41,7 +41,15 @@
- +
+ + +
@@ -50,6 +58,7 @@ {% endblock %} {% block js_load %} {{ block.super }} + {% endblock %} {% block js_ready %} @@ -179,4 +188,9 @@ url: "{% url 'api-part-list' %}", }); + linkButtonsToSelection( + $("#part-table"), + ['#part-options'] + ); + {% endblock %} \ No newline at end of file diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index 015a6673b4..66d1fd2179 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -43,10 +43,9 @@
- +