annotate rhodecode/templates/admin/repos_groups/repos_groups_edit.html @ 3653:4c78a0855a17 beta

Fix 'repos group' - it is 'repository group'
author Mads Kiilerich <madski@unity3d.com>
date Wed, 03 Apr 2013 15:56:12 +0200
parents eacd33e0c5b3
children ec6354949623
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <%inherit file="/base/base.html"/>
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 <%def name="title()">
3653
4c78a0855a17 Fix 'repos group' - it is 'repository group'
Mads Kiilerich <madski@unity3d.com>
parents: 3603
diff changeset
5 ${_('Edit repository group')} ${c.repos_group.name} &middot; ${c.rhodecode_name}
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 </%def>
3603
eacd33e0c5b3 use valid options for the top menu: repositories, journal, search and admin
Mads Kiilerich <madski@unity3d.com>
parents: 3582
diff changeset
7
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 <%def name="breadcrumbs_links()">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
9 ${h.link_to(_('Admin'),h.url('admin_home'))}
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
10 &raquo;
3653
4c78a0855a17 Fix 'repos group' - it is 'repository group'
Mads Kiilerich <madski@unity3d.com>
parents: 3603
diff changeset
11 ${h.link_to(_('Repository groups'),h.url('repos_groups'))}
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 &raquo;
3653
4c78a0855a17 Fix 'repos group' - it is 'repository group'
Mads Kiilerich <madski@unity3d.com>
parents: 3603
diff changeset
13 ${_('Edit repository group')} "${c.repos_group.name}"
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 </%def>
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 <%def name="page_nav()">
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17 ${self.menu('admin')}
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 </%def>
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
19
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
20 <%def name="main()">
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
21 <div class="box">
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
22 <!-- box / title -->
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
23 <div class="title">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
24 ${self.breadcrumbs()}
3193
cbc644d96a53 Add new quick link to created child groups within a group
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
25 <ul class="links">
cbc644d96a53 Add new quick link to created child groups within a group
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
26 <li>
3371
199fd214b213 Show admin dropdown for users who are admin of repo groups
Marcin Kuzminski <marcin@python-works.com>
parents: 3222
diff changeset
27 <span>${h.link_to(_(u'Add child group'),h.url('new_repos_group', parent_group=c.repos_group.group_id))}</span>
3193
cbc644d96a53 Add new quick link to created child groups within a group
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
28 </li>
cbc644d96a53 Add new quick link to created child groups within a group
Marcin Kuzminski <marcin@python-works.com>
parents: 2815
diff changeset
29 </ul>
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 </div>
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
31 <!-- end box / title -->
3222
b4daef4cc26d Group management delegation:
Marcin Kuzminski <marcin@python-works.com>
parents: 3201
diff changeset
32 ${h.form(url('repos_group',group_name=c.repos_group.group_name),method='put')}
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
33 <div class="form">
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
34 <!-- fields -->
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
35 <div class="fields">
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
36 <div class="field">
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
37 <div class="label">
1575
e0b069468de0 Corrected some label-input linking in templates
Augusto Herrmann <augusto.herrmann@planejamento.gov.br>
parents: 1538
diff changeset
38 <label for="group_name">${_('Group name')}:</label>
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
39 </div>
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
40 <div class="input">
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
41 ${h.text('group_name',class_='medium')}
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
42 </div>
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
43 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
44
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3193
diff changeset
45 <div class="field">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3193
diff changeset
46 <div class="label label-textarea">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3193
diff changeset
47 <label for="group_description">${_('Description')}:</label>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3193
diff changeset
48 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3193
diff changeset
49 <div class="textarea text-area editor">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3193
diff changeset
50 ${h.textarea('group_description',cols=23,rows=5,class_="medium")}
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3193
diff changeset
51 </div>
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
52 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
53
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
54 <div class="field">
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
55 <div class="label">
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
56 <label for="group_parent_id">${_('Group parent')}:</label>
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
57 </div>
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
58 <div class="input">
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
59 ${h.select('group_parent_id','',c.repo_groups,class_="medium")}
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
60 </div>
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
61 </div>
1982
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
62 <div class="field">
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
63 <div class="label">
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
64 <label for="input">${_('Permissions')}:</label>
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
65 </div>
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
66 <div class="input">
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
67 <%include file="repos_group_edit_perms.html"/>
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
68 </div>
87f0800abc7b #227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
69 </div>
2749
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
70 <div class="field">
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
71 <div class="label label-checkbox">
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
72 <label for="enable_locking">${_('Enable locking')}:</label>
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
73 </div>
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
74 <div class="checkboxes">
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
75 ${h.checkbox('enable_locking',value="True")}
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
76 <span class="help-block">${_('Enable lock-by-pulling on group. This option will be applied to all other groups and repositories inside')}</span>
3ed4dae499d0 Recursive set locking on all children of a group.
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
77 </div>
2815
acc05c33cc0c White space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2749
diff changeset
78 </div>
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
79 <div class="buttons">
2607
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 1982
diff changeset
80 ${h.submit('save',_('Save'),class_="ui-btn large")}
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 1982
diff changeset
81 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
82 </div>
1347
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
83 </div>
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
84 </div>
43b8e161be3f #47 implemented basic edition of groups
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
85 ${h.end_form()}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
86 </div>
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
87 </%def>