diff --git a/InvenTree/build/templates/build/build_base.html b/InvenTree/build/templates/build/build_base.html index bbdf626b87..155f665548 100644 --- a/InvenTree/build/templates/build/build_base.html +++ b/InvenTree/build/templates/build/build_base.html @@ -186,11 +186,6 @@ src="{% static 'img/blank_image.png' %}" {% block js_ready %} - enableNavbar({ - label: 'build', - toggleId: '#build-menu-toggle' - }); - $("#build-edit").click(function () { editBuildOrder({{ build.pk }}); }); @@ -233,11 +228,5 @@ src="{% static 'img/blank_image.png' %}" } ); }); - - attachNavCallbacks({ - name: 'buildorder', - default: 'details' - }); - {% endblock %} \ No newline at end of file diff --git a/InvenTree/build/templates/build/detail.html b/InvenTree/build/templates/build/detail.html index e621b24763..20424e3fd2 100644 --- a/InvenTree/build/templates/build/detail.html +++ b/InvenTree/build/templates/build/detail.html @@ -4,8 +4,8 @@ {% load status_codes %} {% load markdownify %} -{% block menubar %} -{% include "build/navbar.html" %} +{% block sidebar %} +{% include "build/sidebar.html" %} {% endblock %} {% block page_content %} @@ -552,4 +552,7 @@ $("#btn-order-parts").click(function() { {% endif %} +enableSidebar('buildorder'); + + {% endblock %} \ No newline at end of file diff --git a/InvenTree/build/templates/build/navbar.html b/InvenTree/build/templates/build/navbar.html deleted file mode 100644 index 9b159503dc..0000000000 --- a/InvenTree/build/templates/build/navbar.html +++ /dev/null @@ -1,66 +0,0 @@ -{% load i18n %} -{% load static %} -{% load inventree_extras %} - -