1 {% extends
"modal-base.html" %}
3 {% block id %}push{% end block %}
4 {% block form_action %}/build/{{ build.uuid }}/manage{% end block %}
7 {{ _(
"Push %s to a repository") % build.name }}
11 <input type=
"hidden" name=
"action" value=
"push" />
13 {% if not build.all_jobs_finished %}
14 <div class=
"alert alert-warning">
15 <strong>{{ _(
"Not all jobs are finished!") }}
</strong>
16 {{ _(
"So it is <em>strongly</em> discouraged to push this build into the next repository.") }}
23 <div class=
"control-group">
24 <label class=
"control-label">{{ _(
"New repository") }}
</label>
25 <div class=
"controls">
26 <select id=
"repo" name=
"repo" {% if not current_user.is_admin() %}disabled{% end %}
>
27 {% for repo in [r for r in build.distro.repositories if not r == current_repo] %}
28 <option value=
"{{ repo.identifier }}" {% if repo == next_repo %}selected{% end %}
>
29 {{ repo.name }} - {{ repo.summary }}
34 <p class=
"help-block">
35 {{ _(
"The build will be put into this repository.") }}
44 {{ _(
"You are going to push this build into a new repository.") }}
45 {{ _(
"This means that the build won't be part of the repository it is currently in anymore.") }}
48 {{ _(
"Please make sure you tested this build well enough that it will keep up with the quality level of the target repository.") }}
52 {% block footer_text %}
54 {{ _(
"Current repository") }}:
55 <a href=
"/distro/{{ build.distro.identifier }}/repo/{{ current_repo.identifier }}">
56 {{ current_repo.name }}
60 {% block submit_text %}{{ _(
"Push") }}{% end block %}