diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index 9a6fb9d7e5..44c8cd7df9 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -20,17 +20,23 @@ {% endif %}

+ {% if perms.part.create_partcategory %} + {% endif %} {% if category %} + {% if perms.part.change_partcategory %} + {% endif %} + {% if perms.part.delete_partcategory %} {% endif %} + {% endif %}

@@ -104,11 +110,15 @@
+ {% if perms.part.create_part %} + {% endif %}
@@ -180,6 +190,7 @@ location.href = url; }); + {% if perms.part.create_part %} $("#part-create").click(function() { launchModalForm( "{% url 'part-create' %}", @@ -207,6 +218,7 @@ } ); }); + {% endif %} {% if category %} $("#cat-edit").click(function () {