annotate rhodecode/templates/settings/repo_settings.html @ 2314:b4adab0717d8 beta

Added i18n to the repository group delete button and the save/reset buttons on the repository settings page.
author Vincent Duvert <vincent@duvert.net>
date Sun, 20 May 2012 11:45:26 +0200
parents e82c04f52b9f
children 76d156bef5a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 &raquo;
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 &raquo;
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
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
37 <div class="field">
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
38 <div class="label">
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
39 <label for="clone_uri">${_('Clone uri')}:</label>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
40 </div>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
41 <div class="input">
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
42 ${h.text('clone_uri',class_="medium")}
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
43 <span class="help-block">${_('Optional http[s] url from which repository should be cloned.')}</span>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
44 </div>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
45 </div>
1594
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
46 <div class="field">
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
47 <div class="label">
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
48 <label for="repo_group">${_('Repository group')}:</label>
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
49 </div>
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
50 <div class="input">
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
51 ${h.select('repo_group','',c.repo_groups,class_="medium")}
2103
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
52 <span class="help-block">${_('Optional select a group to put this repository into.')}</span>
1594
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
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
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
60 ${h.textarea('description')}
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
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
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
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
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
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>