##// END OF EJS Templates
templates: UX, moved repo group select next to the name as it's very relavant to each other.
marcink -
r3380:cc6995e4 default
parent child Browse files
Show More
@@ -35,7 +35,7 b' 2. On the |repo| group settings page you'
35
35
36 * :guilabel:`Owner`: Lets you change the group owner. Useful when users are
36 * :guilabel:`Owner`: Lets you change the group owner. Useful when users are
37 moving roles within an organisation.
37 moving roles within an organisation.
38 * :guilabel:`Group parent`: Lets you add the |repo| group as a sub-group
38 * :guilabel:`Repository group`: Lets you add the |repo| group as a sub-group
39 of a larger group, i.e. :guilabel:`QA-Repos >> QA-Repos-Berlin`
39 of a larger group, i.e. :guilabel:`QA-Repos >> QA-Repos-Berlin`
40 * :guilabel:`Enable automatic locking`: For more information,
40 * :guilabel:`Enable automatic locking`: For more information,
41 see :ref:`repo-locking`
41 see :ref:`repo-locking`
@@ -33,7 +33,7 b''
33 <div class="fields">
33 <div class="fields">
34 <div class="field">
34 <div class="field">
35 <div class="label">
35 <div class="label">
36 <label for="group_name">${_('Group Name')}:</label>
36 <label for="group_name">${_('Group name')}:</label>
37 </div>
37 </div>
38 <div class="input">
38 <div class="input">
39 ${h.text('group_name', class_="medium")}
39 ${h.text('group_name', class_="medium")}
@@ -42,6 +42,15 b''
42
42
43 <div class="field">
43 <div class="field">
44 <div class="label">
44 <div class="label">
45 <label for="group_parent_id">${_('Repository group')}:</label>
46 </div>
47 <div class="select">
48 ${h.select('group_parent_id',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
49 </div>
50 </div>
51
52 <div class="field">
53 <div class="label">
45 <label for="group_description">${_('Description')}:</label>
54 <label for="group_description">${_('Description')}:</label>
46 </div>
55 </div>
47 <div class="textarea editor">
56 <div class="textarea editor">
@@ -55,15 +64,6 b''
55 </div>
64 </div>
56 </div>
65 </div>
57
66
58 <div class="field">
59 <div class="label">
60 <label for="group_parent_id">${_('Group Parent')}:</label>
61 </div>
62 <div class="select">
63 ${h.select('group_parent_id',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
64 </div>
65 </div>
66
67 <div id="copy_perms" class="field">
67 <div id="copy_perms" class="field">
68 <div class="label label-checkbox">
68 <div class="label label-checkbox">
69 <label for="group_copy_permissions">${_('Copy Parent Group Permissions')}:</label>
69 <label for="group_copy_permissions">${_('Copy Parent Group Permissions')}:</label>
@@ -12,7 +12,7 b''
12 <div class="fields">
12 <div class="fields">
13 <div class="field">
13 <div class="field">
14 <div class="label">
14 <div class="label">
15 <label for="group_name">${_('Group Name')}:</label>
15 <label for="group_name">${_('Group name')}:</label>
16 </div>
16 </div>
17 <div class="input">
17 <div class="input">
18 ${c.form['repo_group_name'].render(css_class='medium', oid='group_name')|n}
18 ${c.form['repo_group_name'].render(css_class='medium', oid='group_name')|n}
@@ -22,7 +22,7 b''
22
22
23 <div class="field">
23 <div class="field">
24 <div class="label">
24 <div class="label">
25 <label for="repo_group">${_('Group parent')}:</label>
25 <label for="repo_group">${_('Repository group')}:</label>
26 </div>
26 </div>
27 <div class="select">
27 <div class="select">
28 ${c.form['repo_group'].render(css_class='medium', oid='repo_group')|n}
28 ${c.form['repo_group'].render(css_class='medium', oid='repo_group')|n}
@@ -6,7 +6,7 b''
6 <div class="fields">
6 <div class="fields">
7 <div class="field">
7 <div class="field">
8 <div class="label">
8 <div class="label">
9 <label for="repo_name">${_('Name')}:</label>
9 <label for="repo_name">${_('Repository name')}:</label>
10 </div>
10 </div>
11 <div class="input">
11 <div class="input">
12 ${h.text('repo_name', class_="medium")}
12 ${h.text('repo_name', class_="medium")}
@@ -49,21 +49,7 b''
49 </div>
49 </div>
50 <div class="field">
50 <div class="field">
51 <div class="label">
51 <div class="label">
52 <label for="repo_description">${_('Description')}:</label>
52 <label for="repo_group">${_('Repository group')}:</label>
53 </div>
54 <div class="textarea editor">
55 ${h.textarea('repo_description')}
56 <% metatags_url = h.literal('''<a href="#metatagsShow" onclick="$('#meta-tags-desc').toggle();return false">meta-tags</a>''') %>
57 <span class="help-block">${_('Plain text format with support of {metatags}. Add a README file for longer descriptions').format(metatags=metatags_url)|n}</span>
58 <span id="meta-tags-desc" style="display: none">
59 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
60 ${dt.metatags_help()}
61 </span>
62 </div>
63 </div>
64 <div class="field">
65 <div class="label">
66 <label for="repo_group">${_('Repository Group')}:</label>
67 </div>
53 </div>
68 <div class="select">
54 <div class="select">
69 ${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
55 ${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
@@ -77,6 +63,20 b''
77 </div>
63 </div>
78 <div class="field">
64 <div class="field">
79 <div class="label">
65 <div class="label">
66 <label for="repo_description">${_('Description')}:</label>
67 </div>
68 <div class="textarea editor">
69 ${h.textarea('repo_description',cols=23,rows=5,class_="medium")}
70 <% metatags_url = h.literal('''<a href="#metatagsShow" onclick="$('#meta-tags-desc').toggle();return false">meta-tags</a>''') %>
71 <span class="help-block">${_('Plain text format with support of {metatags}. Add a README file for longer descriptions').format(metatags=metatags_url)|n}</span>
72 <span id="meta-tags-desc" style="display: none">
73 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
74 ${dt.metatags_help()}
75 </span>
76 </div>
77 </div>
78 <div class="field">
79 <div class="label">
80 <label for="repo_landing_rev">${_('Landing commit')}:</label>
80 <label for="repo_landing_rev">${_('Landing commit')}:</label>
81 </div>
81 </div>
82 <div class="select">
82 <div class="select">
@@ -8,9 +8,7 b''
8 %endif
8 %endif
9 </%def>
9 </%def>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()"></%def>
12 ${_('New Fork')}
13 </%def>
14
12
15 <%def name="menu_bar_nav()">
13 <%def name="menu_bar_nav()">
16 ${self.menu_items(active='repositories')}
14 ${self.menu_items(active='repositories')}
@@ -24,7 +22,6 b''
24 <div class="box">
22 <div class="box">
25 <div class="title">
23 <div class="title">
26 ${self.repo_page_title(c.rhodecode_db_repo)}
24 ${self.repo_page_title(c.rhodecode_db_repo)}
27 ${self.breadcrumbs()}
28 </div>
25 </div>
29
26
30 ${h.secure_form(h.route_path('repo_fork_create',repo_name=c.rhodecode_db_repo.repo_name), request=request)}
27 ${h.secure_form(h.route_path('repo_fork_create',repo_name=c.rhodecode_db_repo.repo_name), request=request)}
@@ -44,21 +41,6 b''
44 </div>
41 </div>
45
42
46 <div class="field">
43 <div class="field">
47 <div class="label label-textarea">
48 <label for="description">${_('Description')}:</label>
49 </div>
50 <div class="textarea-repo textarea text-area editor">
51 ${h.textarea('description')}
52 <% metatags_url = h.literal('''<a href="#metatagsShow" onclick="$('#meta-tags-desc').toggle();return false">meta-tags</a>''') %>
53 <span class="help-block">${_('Plain text format with support of {metatags}. Add a README file for longer descriptions').format(metatags=metatags_url)|n}</span>
54 <span id="meta-tags-desc" style="display: none">
55 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
56 ${dt.metatags_help()}
57 </span>
58 </div>
59 </div>
60
61 <div class="field">
62 <div class="label">
44 <div class="label">
63 <label for="repo_group">${_('Repository group')}:</label>
45 <label for="repo_group">${_('Repository group')}:</label>
64 </div>
46 </div>
@@ -74,12 +56,27 b''
74 </div>
56 </div>
75
57
76 <div class="field">
58 <div class="field">
59 <div class="label label-textarea">
60 <label for="description">${_('Description')}:</label>
61 </div>
62 <div class="textarea editor">
63 ${h.textarea('description',cols=23,rows=5,class_="medium")}
64 <% metatags_url = h.literal('''<a href="#metatagsShow" onclick="$('#meta-tags-desc').toggle();return false">meta-tags</a>''') %>
65 <span class="help-block">${_('Plain text format with support of {metatags}. Add a README file for longer descriptions').format(metatags=metatags_url)|n}</span>
66 <span id="meta-tags-desc" style="display: none">
67 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
68 ${dt.metatags_help()}
69 </span>
70 </div>
71 </div>
72
73 <div class="field">
77 <div class="label">
74 <div class="label">
78 <label for="landing_rev">${_('Landing commit')}:</label>
75 <label for="landing_rev">${_('Landing commit')}:</label>
79 </div>
76 </div>
80 <div class="select">
77 <div class="select">
81 ${h.select('landing_rev','',c.landing_revs,class_="medium")}
78 ${h.select('landing_rev','',c.landing_revs,class_="medium")}
82 <span class="help-block">${_('Default commit for files page, downloads, whoosh and readme')}</span>
79 <span class="help-block">${_('The default commit for file pages, downloads, full text search index, and README generation.')}</span>
83 </div>
80 </div>
84 </div>
81 </div>
85
82
General Comments 0
You need to be logged in to leave comments. Login now