Show More
@@ -1,103 +1,103 | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="/base/base.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${_('Edit repository group')} ${c.repos_group.name} · ${c.rhodecode_name} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <%def name="breadcrumbs_links()"> |
|
9 | 9 | ${h.link_to(_('Admin'),h.url('admin_home'))} |
|
10 | 10 | » |
|
11 | 11 | ${h.link_to(_('Repository groups'),h.url('repos_groups'))} |
|
12 | 12 | » |
|
13 |
${_('Edit repository group %s') % c.repos_group.name} |
|
|
13 | ${_('Edit repository group %s') % c.repos_group.name} | |
|
14 | 14 | </%def> |
|
15 | 15 | |
|
16 | 16 | <%def name="page_nav()"> |
|
17 | 17 | ${self.menu('admin')} |
|
18 | 18 | </%def> |
|
19 | 19 | |
|
20 | 20 | <%def name="main()"> |
|
21 | 21 | <div class="box box-left"> |
|
22 | 22 | <!-- box / title --> |
|
23 | 23 | <div class="title"> |
|
24 | 24 | ${self.breadcrumbs()} |
|
25 | 25 | <ul class="links"> |
|
26 | 26 | <li> |
|
27 | 27 | <span>${h.link_to(_(u'Add child group'),h.url('new_repos_group', parent_group=c.repos_group.group_id))}</span> |
|
28 | 28 | </li> |
|
29 | 29 | </ul> |
|
30 | 30 | </div> |
|
31 | 31 | <!-- end box / title --> |
|
32 | 32 | ${h.form(url('repos_group',group_name=c.repos_group.group_name),method='put')} |
|
33 | 33 | <div class="form"> |
|
34 | 34 | <!-- fields --> |
|
35 | 35 | <div class="fields"> |
|
36 | 36 | <div class="field"> |
|
37 | 37 | <div class="label"> |
|
38 | 38 | <label for="group_name">${_('Group name')}:</label> |
|
39 | 39 | </div> |
|
40 | 40 | <div class="input"> |
|
41 | 41 | ${h.text('group_name',class_='medium')} |
|
42 | 42 | </div> |
|
43 | 43 | </div> |
|
44 | 44 | |
|
45 | 45 | <div class="field"> |
|
46 | 46 | <div class="label label-textarea"> |
|
47 | 47 | <label for="group_description">${_('Description')}:</label> |
|
48 | 48 | </div> |
|
49 | 49 | <div class="textarea text-area editor"> |
|
50 | 50 | ${h.textarea('group_description',cols=23,rows=5,class_="medium")} |
|
51 | 51 | </div> |
|
52 | 52 | </div> |
|
53 | 53 | |
|
54 | 54 | <div class="field"> |
|
55 | 55 | <div class="label"> |
|
56 | 56 | <label for="group_parent_id">${_('Group parent')}:</label> |
|
57 | 57 | </div> |
|
58 | 58 | <div class="input"> |
|
59 | 59 | ${h.select('group_parent_id','',c.repo_groups,class_="medium")} |
|
60 | 60 | </div> |
|
61 | 61 | </div> |
|
62 | 62 | <div class="field"> |
|
63 | 63 | <div class="label label-checkbox"> |
|
64 | 64 | <label for="enable_locking">${_('Enable locking')}:</label> |
|
65 | 65 | </div> |
|
66 | 66 | <div class="checkboxes"> |
|
67 | 67 | ${h.checkbox('enable_locking',value="True")} |
|
68 | 68 | <span class="help-block">${_('Enable lock-by-pulling on group. This option will be applied to all other groups and repositories inside')}</span> |
|
69 | 69 | </div> |
|
70 | 70 | </div> |
|
71 | 71 | <div class="buttons"> |
|
72 | 72 | ${h.submit('save',_('Save'),class_="ui-btn large")} |
|
73 | 73 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
|
74 | 74 | </div> |
|
75 | 75 | </div> |
|
76 | 76 | </div> |
|
77 | 77 | ${h.end_form()} |
|
78 | 78 | </div> |
|
79 | 79 | <div class="box box-right"> |
|
80 | 80 | <div class="title"> |
|
81 | 81 | <h5>${_('Permissions')}</h5> |
|
82 | 82 | </div> |
|
83 | 83 | ${h.form(url('set_repo_group_perm_member', group_name=c.repos_group.group_name),method='post')} |
|
84 | 84 | <div class="form"> |
|
85 | 85 | <div class="fields"> |
|
86 | 86 | <div class="field"> |
|
87 | 87 | <div class="label"> |
|
88 | 88 | <label for="input">${_('Permissions')}:</label> |
|
89 | 89 | </div> |
|
90 | 90 | <div class="input"> |
|
91 | 91 | ${h.hidden('repo_private')} |
|
92 | 92 | <%include file="repos_group_edit_perms.html"/> |
|
93 | 93 | </div> |
|
94 | 94 | </div> |
|
95 | 95 | <div class="buttons"> |
|
96 | 96 | ${h.submit('save',_('Save'),class_="ui-btn large")} |
|
97 | 97 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
|
98 | 98 | </div> |
|
99 | 99 | </div> |
|
100 | 100 | </div> |
|
101 | 101 | ${h.end_form()} |
|
102 | 102 | </div> |
|
103 | 103 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now