Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit b0008c26ee718dfc72223341e43d08b7b52ba646
Author: Valentin Gologuzov <vgologuz(a)redhat.com>
Date: Fri Oct 24 13:55:30 2014 +0200
[frontend] fixed html new option to configure copr->auto_creatrepo
---------------------------------------------------------------
.../coprs/templates/coprs/_coprs_forms.html | 31 ++++++++++++++------
1 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
b/frontend/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
index f7ece5e..cae838b 100644
--- a/frontend/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
+++ b/frontend/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
@@ -36,16 +36,23 @@
{% for ch in chs %}
<tr>
<td>
- {{ form|attr(ch)|attr('label') }}
- {% if form|attr(ch)|attr('label') %}
- {% else %}
- {{ form|attr(ch)|attr('label') }}
- {% endif %}
- </td><td>{{ form|attr(ch) }}
+ {{ form|attr(ch)|attr('label') }}
+ {% if form|attr(ch)|attr('label') %}
+ {% else %}
+ {{ form|attr(ch)|attr('label') }}
+ {% endif %}
+ </td>
+ <td>
+ {{ form|attr(ch) }}
+ </td>
{% if copr and form|attr(ch)|attr('data') %}
- </td><td><a href="{{
url_for('coprs_ns.chroot_edit', username = copr.owner.name, coprname = copr.name,
chrootname =
form|attr(ch)|attr('label')|attr('text'))}}">[Edit]</a>
+ <td>
+ <a href="{{ url_for('coprs_ns.chroot_edit', username =
copr.owner.name, coprname = copr.name, chrootname =
form|attr(ch)|attr('label')|attr('text'))}}">
+ [Edit]
+ </a>
+
+ </td>
{% endif %}
- </td>
</tr>
{% endfor %}
</table>
@@ -55,7 +62,13 @@
{{ render_field(form.initial_pkgs, rows=5, cols=50, placeholder='Optional -
list of src.rpm to build initially. Can be skipped and submitted later.') }}
{% endif %}
- {{ render_field(form.auto_createrepo, label="Generate repo data after build
") }}
+ <dt class="field-label">
+ <label for="auto_createrepo">Build release options</label>
+ </dt>
+ <dd>
+ Automatically re-create repository metadata:
+ {{ form.auto_createrepo }}
+ </dd>
<dt><input type="submit" value="{% if copr %}Update{% else
%}Create{% endif %}"></dt>