Mercurial > kallithea
annotate rhodecode/templates/settings/repo_settings.html @ 3582:1f334a68d057 beta
improved title consistency
- changed - into dots to save space
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 24 Mar 2013 22:01:31 +0100 |
parents | 72a91632b731 |
children | 727119201a42 |
rev | line source |
---|---|
320
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <%def name="title()"> |
3582
1f334a68d057
improved title consistency
Marcin Kuzminski <marcin@python-works.com>
parents:
3308
diff
changeset
|
5 ${_('%s Settings') % c.repo_name} · ${c.rhodecode_name} |
320
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 </%def> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
7 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
2492
79818f546538
i18n 'Home' in breadcrumbs
Takumi IINO <trot.thunder@gmail.com>
parents:
2417
diff
changeset
|
9 ${h.link_to(_(u'Home'),h.url('/'))} |
1084
17721a2dfadb
fixed breadcrumbs in few pages
Marcin Kuzminski <marcin@python-works.com>
parents:
1015
diff
changeset
|
10 » |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
11 ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))} |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
12 » |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
13 ${_('Settings')} |
320
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 </%def> |
579
6d0474c7e645
more templates updates
Marcin Kuzminski <marcin@python-works.com>
parents:
562
diff
changeset
|
15 |
320
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <%def name="page_nav()"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
17 ${self.menu('settings')} |
320
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 </%def> |
05b212954275
Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <%def name="main()"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
20 <div class="box"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
21 <!-- box / title --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
22 <div class="title"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
23 ${self.breadcrumbs()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
24 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
25 ${h.form(url('repo_settings_update', repo_name=c.repo_info.repo_name),method='put')} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
26 <div class="form"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
27 <!-- fields --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
28 <div class="fields"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
29 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
30 <div class="label"> |
366
0f35fa0f4eb8
fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
31 <label for="repo_name">${_('Name')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
32 </div> |
366
0f35fa0f4eb8
fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
33 <div class="input input-medium"> |
562
1a77a0c350f5
extended size of some input fields
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
34 ${h.text('repo_name',class_="small")} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
35 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
36 </div> |
3197 | 37 <div class="field"> |
38 <div class="label"> | |
39 <label for="clone_uri">${_('Clone uri')}:</label> | |
40 </div> | |
41 <div class="input"> | |
42 ${h.text('clone_uri',class_="medium")} | |
2103 | 43 <span class="help-block">${_('Optional http[s] url from which repository should be cloned.')}</span> |
3197 | 44 </div> |
45 </div> | |
1594 | 46 <div class="field"> |
47 <div class="label"> | |
48 <label for="repo_group">${_('Repository group')}:</label> | |
49 </div> | |
50 <div class="input"> | |
51 ${h.select('repo_group','',c.repo_groups,class_="medium")} | |
2103 | 52 <span class="help-block">${_('Optional select a group to put this repository into.')}</span> |
1594 | 53 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
54 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
55 <div class="field"> |
2596
bf17b1e4a19c
fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
56 <div class="label"> |
bf17b1e4a19c
fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
57 <label for="landing_rev">${_('Landing revision')}:</label> |
bf17b1e4a19c
fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
58 </div> |
bf17b1e4a19c
fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
59 <div class="input"> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
60 ${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} |
2596
bf17b1e4a19c
fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
61 <span class="help-block">${_('Default revision for files page, downloads, whoosh and readme')}</span> |
bf17b1e4a19c
fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
62 </div> |
2673
d5e42c00f3c1
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
63 </div> |
2596
bf17b1e4a19c
fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
64 <div class="field"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
65 <div class="label label-textarea"> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
66 <label for="repo_description">${_('Description')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
67 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
68 <div class="textarea text-area editor"> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
69 ${h.textarea('repo_description')} |
2103 | 70 <span class="help-block">${_('Keep it short and to the point. Use a README file for longer descriptions.')}</span> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
71 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
72 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
73 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
74 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
75 <div class="label label-checkbox"> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
76 <label for="repo_private">${_('Private repository')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
77 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
78 <div class="checkboxes"> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
79 ${h.checkbox('repo_private',value="True")} |
2103 | 80 <span class="help-block">${_('Private repositories are only visible to people explicitly added as collaborators.')}</span> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
81 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
82 </div> |
3308
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
83 %if c.visual.repository_fields: |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
84 ## EXTRA FIELDS |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
85 %for field in c.repo_fields: |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
86 <div class="field"> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
87 <div class="label"> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
88 <label for="${field.field_key_prefixed}">${field.field_label} (${field.field_key}):</label> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
89 </div> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
90 <div class="input input-medium"> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
91 ${h.text(field.field_key_prefixed, field.field_value, class_='medium')} |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
92 %if field.field_desc: |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
93 <span class="help-block">${field.field_desc}</span> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
94 %endif |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
95 </div> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
96 </div> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
97 %endfor |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
98 %endif |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
99 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
100 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
101 <div class="label"> |
366
0f35fa0f4eb8
fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
102 <label for="">${_('Permissions')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
103 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
104 <div class="input"> |
1015
65129c332d37
#56 added ajax removal of users groups,
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
105 <%include file="../admin/repos/repo_edit_perms.html"/> |
65129c332d37
#56 added ajax removal of users groups,
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
106 </div> |
3084
2ec4a2a53167
added delete button into repository settings form, it makes more natural to have it there.
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
107 </div> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
108 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
109 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2596
diff
changeset
|
110 ${h.submit('save',_('Save'),class_="ui-btn large")} |
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2596
diff
changeset
|
111 ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
112 </div> |
3149
68f9c216377d
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
3108
diff
changeset
|
113 |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
114 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
115 ${h.end_form()} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
116 </div> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
117 |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
118 <h3>${_('Delete repository')}</h3> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
119 <div class="form"> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
120 <!-- fields --> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
121 <div class="fields"> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
122 |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
123 <div class="field"> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
124 <div class="label"> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
125 <label for="">${_('Remove repo')}:</label> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
126 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
127 <div class="checkboxes"> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
128 ${h.form(url('repo_settings_delete', repo_name=c.repo_info.repo_name),method='delete')} |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
129 <div class=""> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
130 <div class="fields"> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
131 ${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")} |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
132 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
133 <div class="field" style="border:none;color:#888"> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
134 <ul> |
3108
0c3fa09671cd
fixes #682 Translation difficult for multi-line text
Marcin Kuzminski <marcin@python-works.com>
parents:
3089
diff
changeset
|
135 <li>${_('This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need fully delete it from file system please do it manually')}</li> |
3089
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
136 </ul> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
137 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
138 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
139 ${h.end_form()} |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
140 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
141 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
142 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
143 </div> |
4cc9bb83ecb4
Fixed some issues with edit form
Marcin Kuzminski <marcin@python-works.com>
parents:
3084
diff
changeset
|
144 |
579
6d0474c7e645
more templates updates
Marcin Kuzminski <marcin@python-works.com>
parents:
562
diff
changeset
|
145 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
146 </%def> |