Mercurial > kallithea
annotate rhodecode/templates/settings/repo_settings.html @ 2369:c2f131502037 beta
Autocomplete fixes
- use translation MAP
- move translation to top level in order to be used inside rhodecode.js
- re-use user and groups data in changesets page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 01 Jun 2012 23:29:41 +0200 |
parents | b4adab0717d8 |
children | 76d156bef5a2 |
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()"> |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
579
diff
changeset
|
5 ${c.repo_name} ${_('Settings')} - ${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()"> |
1084
17721a2dfadb
fixed breadcrumbs in few pages
Marcin Kuzminski <marcin@python-works.com>
parents:
1015
diff
changeset
|
9 ${h.link_to(u'Home',h.url('/'))} |
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> |
2103 | 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")} | |
43 <span class="help-block">${_('Optional http[s] url from which repository should be cloned.')}</span> | |
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"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
56 <div class="label label-textarea"> |
366
0f35fa0f4eb8
fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
57 <label for="description">${_('Description')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
58 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
59 <div class="textarea text-area editor"> |
2103 | 60 ${h.textarea('description')} |
61 <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
|
62 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
63 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
64 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
65 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
66 <div class="label label-checkbox"> |
2103 | 67 <label for="private">${_('Private repository')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
68 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
69 <div class="checkboxes"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
70 ${h.checkbox('private',value="True")} |
2103 | 71 <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
|
72 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
73 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
74 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
75 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
76 <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
|
77 <label for="">${_('Permissions')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
78 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
79 <div class="input"> |
1015
65129c332d37
#56 added ajax removal of users groups,
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
80 <%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
|
81 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
82 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
83 <div class="buttons"> |
2314
b4adab0717d8
Added i18n to the repository group delete button and the save/reset buttons on the repository settings page.
Vincent Duvert <vincent@duvert.net>
parents:
2103
diff
changeset
|
84 ${h.submit('save',_('Save'),class_="ui-button")} |
b4adab0717d8
Added i18n to the repository group delete button and the save/reset buttons on the repository settings page.
Vincent Duvert <vincent@duvert.net>
parents:
2103
diff
changeset
|
85 ${h.reset('reset',_('Reset'),class_="ui-button")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
86 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
87 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
88 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
89 ${h.end_form()} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
320
diff
changeset
|
90 </div> |
579
6d0474c7e645
more templates updates
Marcin Kuzminski <marcin@python-works.com>
parents:
562
diff
changeset
|
91 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1594
diff
changeset
|
92 </%def> |