From 66b729d579e7b6461c99dc9c6ff6f5ad915cb4a0 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 10 May 2019 08:44:07 +1000 Subject: [PATCH] Moved 'complete build' button to the build detail page --- InvenTree/build/templates/build/allocate.html | 11 ----------- InvenTree/build/templates/build/detail.html | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/InvenTree/build/templates/build/allocate.html b/InvenTree/build/templates/build/allocate.html index c58bc39b49..15061a18b4 100644 --- a/InvenTree/build/templates/build/allocate.html +++ b/InvenTree/build/templates/build/allocate.html @@ -20,7 +20,6 @@ InvenTree | Allocate Parts
-
@@ -56,16 +55,6 @@ InvenTree | Allocate Parts {% endfor %} - $("#complete-build").on('click', function() { - launchModalForm( - "{% url 'build-complete' build.id %}", - { - reload: true, - submit_text: "Complete Build", - } - ); - }); - $("#auto-allocate-build").on('click', function() { launchModalForm( "{% url 'build-auto-allocate' build.id %}", diff --git a/InvenTree/build/templates/build/detail.html b/InvenTree/build/templates/build/detail.html index 8beeb6ac08..fef67f77c1 100644 --- a/InvenTree/build/templates/build/detail.html +++ b/InvenTree/build/templates/build/detail.html @@ -17,12 +17,15 @@ InvenTree | Build - {{ build }}