]>
Commit | Line | Data |
---|---|---|
9137135a MT |
1 | {% extends "base.html" %} |
2 | ||
3 | {% block title %}{{ _("Edit build priority") }}{% end block %} | |
4 | ||
5 | {% block body %} | |
6 | <h1>{{ _("Edit build priority") }}: {{ build.name }}</h1> | |
7 | <form method="post" action=""> | |
f55d0127 | 8 | {% raw xsrf_form_html() %} |
9137135a MT |
9 | <table class="form form3"> |
10 | <tr> | |
11 | <td class="col1">{{ _("Priority") }}</td> | |
12 | <td class="col2"> | |
13 | <select name="priority"> | |
14 | <option value="2" {% if build.priority >= 2 %}selected="selected"{% end %}>{{ _("Very high") }}</option> | |
15 | <option value="1" {% if build.priority == 1 %}selected="selected"{% end %}>{{ _("High") }}</option> | |
16 | <option value="0" {% if build.priority == 0 %}selected="selected"{% end %}>{{ _("Medium") }}</option> | |
17 | <option value="-1" {% if build.priority == -1 %}selected="selected"{% end %}>{{ _("Low") }}</option> | |
18 | <option value="-2" {% if build.priority <= -2 %}selected="selected"{% end %}>{{ _("Very low") }}</option> | |
19 | </select> | |
20 | </td> | |
21 | <td class="col3"> | |
22 | {{ _("Set the priority of the build process.") }} | |
23 | </td> | |
24 | </tr> | |
25 | <tr> | |
26 | <td colspan="3"> | |
27 | <p> | |
28 | <strong>{{ _("Beware") }}:</strong> | |
29 | {{ _("Shuffeling build jobs can cause problems with the dependency solving.") }} | |
30 | {{ _("Don't do this if you are not totally sure you won't break anything.") }} | |
31 | </p> | |
32 | </td> | |
33 | </tr> | |
34 | <tr> | |
35 | <td colspan="3" class="buttons"> | |
36 | <input type="submit" value="{{ _("Save") }}" /> | |
37 | </td> | |
38 | </tr> | |
39 | </table> | |
40 | </form> | |
41 | {% end block %} |