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