[copr] master: Also keep the _builds_forms template naming consistent (098135d)

bkabrda at fedoraproject.org bkabrda at fedoraproject.org
Tue Jan 22 07:38:53 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 098135d55a958e414de790da9d2ef12c6190c79c
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Tue Jan 22 08:21:42 2013 +0100

    Also keep the _builds_forms template naming consistent


>---------------------------------------------------------------

 coprs_frontend/coprs/templates/coprs/detail.html   |    2 --
 .../{_build_forms.html => _builds_forms.html}      |    0
 .../templates/coprs/detail/_builds_table.html      |    2 +-
 .../coprs/templates/coprs/detail/add_build.html    |    2 +-
 4 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/coprs_frontend/coprs/templates/coprs/detail.html b/coprs_frontend/coprs/templates/coprs/detail.html
index 04c4c2a..f332f36 100644
--- a/coprs_frontend/coprs/templates/coprs/detail.html
+++ b/coprs_frontend/coprs/templates/coprs/detail.html
@@ -1,7 +1,5 @@
 {% extends "layout.html" %}
 {% block title %}{{ copr.owner.name }}/{{ copr.name }} Copr{% endblock %}
-{% from "coprs/detail/_build_forms.html" import copr_build_form,
-                                         copr_build_cancel_form with context %}
 
 {% block body %}
   <h1>{{ copr.owner.name }} / <strong>{{ copr.name }}</strong></h1>
diff --git a/coprs_frontend/coprs/templates/coprs/detail/_build_forms.html b/coprs_frontend/coprs/templates/coprs/detail/_builds_forms.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/_build_forms.html
rename to coprs_frontend/coprs/templates/coprs/detail/_builds_forms.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/_builds_table.html b/coprs_frontend/coprs/templates/coprs/detail/_builds_table.html
index ddba34f..cc0d842 100644
--- a/coprs_frontend/coprs/templates/coprs/detail/_builds_table.html
+++ b/coprs_frontend/coprs/templates/coprs/detail/_builds_table.html
@@ -1,4 +1,4 @@
-{% from "coprs/detail/_build_forms.html" import copr_build_cancel_form, copr_build_repeat_form %}
+{% from "coprs/detail/_builds_forms.html" import copr_build_cancel_form, copr_build_repeat_form %}
 
 {% macro builds_table(builds) %}
   {% if builds %}
diff --git a/coprs_frontend/coprs/templates/coprs/detail/add_build.html b/coprs_frontend/coprs/templates/coprs/detail/add_build.html
index e7e8713..c0b1b61 100644
--- a/coprs_frontend/coprs/templates/coprs/detail/add_build.html
+++ b/coprs_frontend/coprs/templates/coprs/detail/add_build.html
@@ -1,7 +1,7 @@
 {% extends "coprs/detail.html" %}
 {% block title %}Adding Build for {{ copr.owner.name }}/{{ copr.name }}{% endblock %}
 {% block new_build_selected %}selected{% endblock %}
-{% from "coprs/detail/_build_forms.html" import copr_build_form with context %}
+{% from "coprs/detail/_builds_forms.html" import copr_build_form with context %}
 
 {% block detail_body %}
 



More information about the copr-devel mailing list