diff --git a/InvenTree/build/templates/build/build_base.html b/InvenTree/build/templates/build/build_base.html index 828bed1f77..3e4ee98cd5 100644 --- a/InvenTree/build/templates/build/build_base.html +++ b/InvenTree/build/templates/build/build_base.html @@ -38,6 +38,11 @@ InvenTree | Build - {{ build }} {% endif %} + {% if build.status == BuildStatus.CANCELLED %} + + {% endif %}

@@ -111,5 +116,14 @@ InvenTree | Build - {{ build }} } ); }); + + $("#build-delete").on('click', function() { + launchModalForm( + "{% url 'build-delete' build.id %}", + { + redirect: "{% url 'build-index' %}", + } + ); + }); {% endblock %} \ No newline at end of file