Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit e72a9a3d1065f843f2011fc6d29d4724e2bbcdb4
Author: Jakub Kadl����k <jkadlcik(a)redhat.com>
Date: Tue Nov 24 14:56:38 2015 +0100
[frontend] fix broken 'new build' page for tito and mock on group projects
---------------------------------------------------------------
.../templates/coprs/detail/add_build/mock.html | 2 +-
.../templates/coprs/detail/add_build/tito.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/mock.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/mock.html
index 8eca2ed..ed630f5 100644
--- a/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/mock.html
+++ b/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/mock.html
@@ -13,6 +13,6 @@
<h2> New Build <small>From a Git or SVN Repository Using Mock
SCM</small></h2>
<p> Provide a URL of a Git or SVN repository and path to the SPEC file within the
repository. You can optionally build from a specific branch. </p>
- {{ copr_build_form_mock(form, 'coprs_ns.copr_new_build_mock', copr) }}
+ {{ copr_build_form_mock(form, view, copr) }}
{% endblock %}
diff --git a/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/tito.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/tito.html
index b682a07..aa3eef7 100644
--- a/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/tito.html
+++ b/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build/tito.html
@@ -13,6 +13,6 @@
<h2> New Build <small>From a Git Repository Using
Tito</small></h2>
<p> Provide a URL of a Git repository. You can optionally specify a directory
within that repository and Git branch. You can also choose to build from the last commit
instead of the last release.</p>
- {{ copr_build_form_tito(form, 'coprs_ns.copr_new_build_tito', copr) }}
+ {{ copr_build_form_tito(form, view, copr) }}
{% endblock %}