##// 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 36 * :guilabel:`Owner`: Lets you change the group owner. Useful when users are
37 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 39 of a larger group, i.e. :guilabel:`QA-Repos >> QA-Repos-Berlin`
40 40 * :guilabel:`Enable automatic locking`: For more information,
41 41 see :ref:`repo-locking`
@@ -33,7 +33,7 b''
33 33 <div class="fields">
34 34 <div class="field">
35 35 <div class="label">
36 <label for="group_name">${_('Group Name')}:</label>
36 <label for="group_name">${_('Group name')}:</label>
37 37 </div>
38 38 <div class="input">
39 39 ${h.text('group_name', class_="medium")}
@@ -42,6 +42,15 b''
42 42
43 43 <div class="field">
44 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 54 <label for="group_description">${_('Description')}:</label>
46 55 </div>
47 56 <div class="textarea editor">
@@ -55,15 +64,6 b''
55 64 </div>
56 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 67 <div id="copy_perms" class="field">
68 68 <div class="label label-checkbox">
69 69 <label for="group_copy_permissions">${_('Copy Parent Group Permissions')}:</label>
@@ -12,7 +12,7 b''
12 12 <div class="fields">
13 13 <div class="field">
14 14 <div class="label">
15 <label for="group_name">${_('Group Name')}:</label>
15 <label for="group_name">${_('Group name')}:</label>
16 16 </div>
17 17 <div class="input">
18 18 ${c.form['repo_group_name'].render(css_class='medium', oid='group_name')|n}
@@ -22,7 +22,7 b''
22 22
23 23 <div class="field">
24 24 <div class="label">
25 <label for="repo_group">${_('Group parent')}:</label>
25 <label for="repo_group">${_('Repository group')}:</label>
26 26 </div>
27 27 <div class="select">
28 28 ${c.form['repo_group'].render(css_class='medium', oid='repo_group')|n}
@@ -6,7 +6,7 b''
6 6 <div class="fields">
7 7 <div class="field">
8 8 <div class="label">
9 <label for="repo_name">${_('Name')}:</label>
9 <label for="repo_name">${_('Repository name')}:</label>
10 10 </div>
11 11 <div class="input">
12 12 ${h.text('repo_name', class_="medium")}
@@ -49,21 +49,7 b''
49 49 </div>
50 50 <div class="field">
51 51 <div class="label">
52 <label for="repo_description">${_('Description')}:</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>
52 <label for="repo_group">${_('Repository group')}:</label>
67 53 </div>
68 54 <div class="select">
69 55 ${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
@@ -77,6 +63,20 b''
77 63 </div>
78 64 <div class="field">
79 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 80 <label for="repo_landing_rev">${_('Landing commit')}:</label>
81 81 </div>
82 82 <div class="select">
@@ -8,9 +8,7 b''
8 8 %endif
9 9 </%def>
10 10
11 <%def name="breadcrumbs_links()">
12 ${_('New Fork')}
13 </%def>
11 <%def name="breadcrumbs_links()"></%def>
14 12
15 13 <%def name="menu_bar_nav()">
16 14 ${self.menu_items(active='repositories')}
@@ -24,7 +22,6 b''
24 22 <div class="box">
25 23 <div class="title">
26 24 ${self.repo_page_title(c.rhodecode_db_repo)}
27 ${self.breadcrumbs()}
28 25 </div>
29 26
30 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 41 </div>
45 42
46 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 44 <div class="label">
63 45 <label for="repo_group">${_('Repository group')}:</label>
64 46 </div>
@@ -74,12 +56,27 b''
74 56 </div>
75 57
76 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 74 <div class="label">
78 75 <label for="landing_rev">${_('Landing commit')}:</label>
79 76 </div>
80 77 <div class="select">
81 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 80 </div>
84 81 </div>
85 82
General Comments 0
You need to be logged in to leave comments. Login now