]>
Commit | Line | Data |
---|---|---|
9137135a MT |
1 | {% extends "base.html" %} |
2 | ||
3 | {% block title %}{{ _("Edit distribution %s") % distro.name }}{% end block %} | |
4 | ||
5 | {% block body %} | |
6 | <h1>{{ _("Edit distribution %s") % distro.name }}</h1> | |
7 | ||
8 | <form method="post" action=""> | |
f55d0127 | 9 | {% raw xsrf_form_html() %} |
9137135a MT |
10 | <table class="form form3"> |
11 | <tr> | |
12 | <td class="col1">{{ _("Name") }}</td> | |
13 | <td class="col2"> | |
14 | <input type="text" name="name" value="{{ distro.name }}" /> | |
15 | </td> | |
16 | <td class="col3"> | |
17 | {{ _("The fancy name of the distribution.") }} | |
18 | </td> | |
19 | </tr> | |
20 | <tr> | |
21 | <td class="col1">{{ _("Identifier") }}</td> | |
22 | <td class="col2"> | |
23 | {{ distro.sname }} | |
24 | </td> | |
25 | <td class="col3"> | |
26 | {{ _("Cannot be changed.") }} | |
27 | </td> | |
28 | </tr> | |
f6e6ff79 MT |
29 | <tr> |
30 | <td class="col1">{{ _("Tag") }}</td> | |
31 | <td class="col2"> | |
32 | <input type="text" name="tag" value="{{ distro.tag }}" /> | |
33 | </td> | |
34 | <td class="col3"> | |
35 | {{ _("The tag is added to the package release.") }} | |
36 | </td> | |
37 | </tr> | |
9137135a MT |
38 | <tr> |
39 | <td class="col1">{{ _("Vendor") }}</td> | |
40 | <td class="col2"> | |
41 | <input type="text" name="vendor" value="{{ distro.vendor }}" /> | |
42 | </td> | |
43 | <td class="col3"> | |
44 | {{ _("From whom is the distribution from?") }} | |
45 | </td> | |
46 | </tr> | |
f6e6ff79 MT |
47 | <tr> |
48 | <td class="col1">{{ _("Contact") }}</td> | |
49 | <td class="col2"> | |
50 | <input type="text" name="contact" value="{{ distro.contact or "" }}" /> | |
51 | </td> | |
52 | <td> | |
53 | {{ _("The email address from the vendor.") }} | |
54 | </td> | |
55 | </tr> | |
9137135a MT |
56 | <tr> |
57 | <td class="col1">{{ _("Slogan") }}</td> | |
58 | <td class="col2"> | |
59 | <input type="text" name="slogan" value="{{ distro.slogan }}" /> | |
60 | </td> | |
61 | <td class="col3"> | |
62 | {{ _("A short sentence that characterizes the distribution.") }} | |
63 | </td> | |
64 | </tr> | |
65 | <tr> | |
66 | <td class="col1">{{ _("Architectures") }}</td> | |
67 | <td class="col2"> | |
68 | <select name="arches" size="4" multiple> | |
69 | {% for arch in arches %} | |
5aa556bf | 70 | <option value="{{ arch.id }}" {% if arch in distro.arches %}selected="selected"{% end %}>{{ arch.name }}</option> |
9137135a MT |
71 | {% end %} |
72 | </select> | |
73 | </td> | |
74 | <td class="col3"> | |
75 | {{ _("For which architectures should the distribution be built?") }} | |
76 | </td> | |
77 | </tr> | |
78 | <tr> | |
79 | <td class="col1">{{ _("Sources") }}</td> | |
80 | <td class="col2"> | |
81 | <select name="sources" size="4" multiple> | |
82 | {% for source in sources %} | |
83 | <option value="{{ source.id }}" {% if source in distro.sources %}selected="selected"{% end %}>{{ source.name }}</option> | |
84 | {% end %} | |
85 | </select> | |
86 | </td> | |
87 | <td class="col3"> | |
88 | {{ _("Which sources should be imported to the distribution?") }} | |
89 | </td> | |
90 | </tr> | |
91 | <tr> | |
92 | <td colspan="3" class="buttons"> | |
93 | <input type="submit" value="{{ _("Save") }}" /> | |
94 | </td> | |
95 | </tr> | |
96 | </table> | |
97 | <div style="clear: both;"> </div> | |
98 | </form> | |
99 | {% end block %} |