annotate rhodecode/templates/admin/settings/settings.html @ 3960:5293d4bbb1ea

Merged dev into stable/default/master branch
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 07 Jun 2013 00:31:11 +0200
parents 3563bb7b4b82 9378d8640a4b
children 38ab60c1fb2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
346
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <%inherit file="/base/base.html"/>
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
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: 3572
diff changeset
5 ${_('Settings administration')} &middot; ${c.rhodecode_name}
346
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
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: 350
diff changeset
7
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
8 <%def name="breadcrumbs_links()">
3392
f74be3359044 unified breadcrumbs display
Marcin Kuzminski <marcin@python-works.com>
parents: 3315
diff changeset
9 ${h.link_to(_('Admin'),h.url('admin_home'))}
f74be3359044 unified breadcrumbs display
Marcin Kuzminski <marcin@python-works.com>
parents: 3315
diff changeset
10 &raquo;
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3582
diff changeset
11 ${_('Settings')}
346
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 </%def>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
13
346
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 <%def name="page_nav()">
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
15 ${self.menu('admin')}
346
51362853ac3b added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 </%def>
348
e8fc875467bd implemented manual repo rescann and remapping
Marcin Kuzminski <marcin@python-works.com>
parents: 346
diff changeset
17
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
18 <%def name="main()">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
19 <div class="box">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
20 <!-- box / title -->
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
21 <div class="title">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
22 ${self.breadcrumbs()}
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
23 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
24 <!-- end box / title -->
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
25
383
04f8fd55e6bc fixed settings template
Marcin Kuzminski <marcin@python-works.com>
parents: 381
diff changeset
26 <h3>${_('Remap and rescan repositories')}</h3>
371
5cd6616b8673 routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents: 362
diff changeset
27 ${h.form(url('admin_setting', setting_id='mapping'),method='put')}
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
28 <div class="form">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
29 <!-- fields -->
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
30
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
31 <div class="fields">
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
32 <div class="field">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
33 <div class="label label-checkbox">
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
34 <label for="destroy">${_('Rescan option')}:</label>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
35 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
36 <div class="checkboxes">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
37 <div class="checkbox">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
38 ${h.checkbox('destroy',True)}
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
39 <label for="destroy">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
40 <span class="tooltip" title="${h.tooltip(_('In case a repository was deleted from filesystem and there are leftovers in the database check this option to scan obsolete data in database and remove it.'))}">
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
41 ${_('Destroy old data')}</span> </label>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
42 </div>
3951
9378d8640a4b Added extra flag to invalidate caches when doing rescan from web
Marcin Kuzminski <marcin@python-works.com>
parents: 3920
diff changeset
43 <div class="checkbox">
9378d8640a4b Added extra flag to invalidate caches when doing rescan from web
Marcin Kuzminski <marcin@python-works.com>
parents: 3920
diff changeset
44 ${h.checkbox('invalidate',True)}
9378d8640a4b Added extra flag to invalidate caches when doing rescan from web
Marcin Kuzminski <marcin@python-works.com>
parents: 3920
diff changeset
45 <label for="invalidate">
9378d8640a4b Added extra flag to invalidate caches when doing rescan from web
Marcin Kuzminski <marcin@python-works.com>
parents: 3920
diff changeset
46 <span class="tooltip" title="${h.tooltip(_('Invalidate cache for all repositories during scan'))}">
9378d8640a4b Added extra flag to invalidate caches when doing rescan from web
Marcin Kuzminski <marcin@python-works.com>
parents: 3920
diff changeset
47 ${_('Invalidate cache for all repositories')}</span> </label>
9378d8640a4b Added extra flag to invalidate caches when doing rescan from web
Marcin Kuzminski <marcin@python-works.com>
parents: 3920
diff changeset
48 </div>
2669
64bb1c46c861 Added some help text into settings page
Marcin Kuzminski <marcin@python-works.com>
parents: 2668
diff changeset
49 <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
50 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2958
diff changeset
51 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
52
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
53 <div class="buttons">
2607
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2407
diff changeset
54 ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
55 </div>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
56 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
57 </div>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
58 ${h.end_form()}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
59
467
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
60 <h3>${_('Whoosh indexing')}</h3>
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
61 ${h.form(url('admin_setting', setting_id='whoosh'),method='put')}
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
62 <div class="form">
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
63 <!-- fields -->
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
64
467
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
65 <div class="fields">
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
66 <div class="field">
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
67 <div class="label label-checkbox">
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
68 <label>${_('Index build option')}:</label>
467
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
69 </div>
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
70 <div class="checkboxes">
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
71 <div class="checkbox">
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
72 ${h.checkbox('full_index',True)}
3408
a61ac64c6d43 settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3392
diff changeset
73 <label for="full_index">${_('Build from scratch')}</label>
467
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
74 </div>
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
75 </div>
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
76 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
77
467
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
78 <div class="buttons">
2607
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2407
diff changeset
79 ${h.submit('reindex',_('Reindex'),class_="ui-btn large")}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
80 </div>
467
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
81 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
82 </div>
467
3fc3ce53659b starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents: 409
diff changeset
83 ${h.end_form()}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
84
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
85 <h3>${_('Global application settings')}</h3>
371
5cd6616b8673 routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents: 362
diff changeset
86 ${h.form(url('admin_setting', setting_id='global'),method='put')}
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
87 <div class="form">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
88 <!-- fields -->
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
89
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
90 <div class="fields">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
91
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
92 <div class="field">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
93 <div class="label">
3408
a61ac64c6d43 settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3392
diff changeset
94 <label for="rhodecode_title">${_('Site branding')}:</label>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
95 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
96 <div class="input">
548
b75b77ef649d renamed hg_app to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
97 ${h.text('rhodecode_title',size=30)}
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
98 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
99 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
100
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
101 <div class="field">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
102 <div class="label">
3408
a61ac64c6d43 settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3392
diff changeset
103 <label for="rhodecode_realm">${_('HTTP authentication realm')}:</label>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
104 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
105 <div class="input">
548
b75b77ef649d renamed hg_app to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
106 ${h.text('rhodecode_realm',size=30)}
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
107 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
108 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
109
890
042d38683d42 implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
110 <div class="field">
042d38683d42 implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
111 <div class="label">
3408
a61ac64c6d43 settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3392
diff changeset
112 <label for="rhodecode_ga_code">${_('Google Analytics code')}:</label>
890
042d38683d42 implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
113 </div>
042d38683d42 implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
114 <div class="input">
891
cca7286401b3 fixes for #89 ga code
Marcin Kuzminski <marcin@python-works.com>
parents: 890
diff changeset
115 ${h.text('rhodecode_ga_code',size=30)}
890
042d38683d42 implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
116 </div>
042d38683d42 implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
117 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
118
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
119 <div class="buttons">
2607
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2407
diff changeset
120 ${h.submit('save',_('Save settings'),class_="ui-btn large")}
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2407
diff changeset
121 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
122 </div>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
123 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
124 </div>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
125 ${h.end_form()}
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
126
2674
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
127 <h3>${_('Visualisation settings')}</h3>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
128 ${h.form(url('admin_setting', setting_id='visual'),method='put')}
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
129 <div class="form">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
130 <!-- fields -->
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
131
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
132 <div class="fields">
2936
62e493c7f436 Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents: 2821
diff changeset
133 <div class="field">
62e493c7f436 Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents: 2821
diff changeset
134 <div class="label label-checkbox">
62e493c7f436 Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents: 2821
diff changeset
135 <label>${_('General')}:</label>
62e493c7f436 Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents: 2821
diff changeset
136 </div>
62e493c7f436 Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents: 2821
diff changeset
137 <div class="checkboxes">
62e493c7f436 Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents: 2821
diff changeset
138 <div class="checkbox">
3308
72a91632b731 repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents: 3198
diff changeset
139 ${h.checkbox('rhodecode_repository_fields','True')}
72a91632b731 repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents: 3198
diff changeset
140 <label for="rhodecode_repository_fields">${_('Use repository extra fields')}</label>
72a91632b731 repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents: 3198
diff changeset
141 </div>
3904
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
142 <span class="help-block">${_('Allows storing additional customized fields per repository.')}</span>
3910
36f7562a5919 Implements #842 RhodeCode version disclosure.
Marcin Kuzminski <marcin@python-works.com>
parents: 3904
diff changeset
143 <div class="checkbox">
36f7562a5919 Implements #842 RhodeCode version disclosure.
Marcin Kuzminski <marcin@python-works.com>
parents: 3904
diff changeset
144 ${h.checkbox('rhodecode_show_version','True')}
36f7562a5919 Implements #842 RhodeCode version disclosure.
Marcin Kuzminski <marcin@python-works.com>
parents: 3904
diff changeset
145 <label for="rhodecode_show_version">${_('Show RhodeCode version')}</label>
36f7562a5919 Implements #842 RhodeCode version disclosure.
Marcin Kuzminski <marcin@python-works.com>
parents: 3904
diff changeset
146 </div>
36f7562a5919 Implements #842 RhodeCode version disclosure.
Marcin Kuzminski <marcin@python-works.com>
parents: 3904
diff changeset
147 <span class="help-block">${_('Shows or hides displayed version of RhodeCode in the footer')}</span>
3315
fc08484c5bf3 whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 3308
diff changeset
148 </div>
2936
62e493c7f436 Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents: 2821
diff changeset
149 </div>
3904
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
150 <div class="field">
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
151 <div class="label">
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
152 <label for="rhodecode_realm">${_('Dashboard items')}:</label>
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
153 </div>
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
154 <div class="input">
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
155 ${h.text('rhodecode_dashboard_items',size=5)}
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
156 <span class="help-block">${_('Number of items displayed in lightweight dashboard before pagination is shown.')}</span>
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
157 </div>
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
158 </div>
2674
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
159 <div class="field">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
160 <div class="label label-checkbox">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
161 <label>${_('Icons')}:</label>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
162 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
163 <div class="checkboxes">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
164 <div class="checkbox">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
165 ${h.checkbox('rhodecode_show_public_icon','True')}
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
166 <label for="rhodecode_show_public_icon">${_('Show public repo icon on repositories')}</label>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
167 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
168 <div class="checkbox">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
169 ${h.checkbox('rhodecode_show_private_icon','True')}
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
170 <label for="rhodecode_show_private_icon">${_('Show private repo icon on repositories')}</label>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
171 </div>
3904
fe053a42c4ce added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents: 3752
diff changeset
172 <span class="help-block">${_('Show public/private icons next to repositories names')}</span>
2674
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
173 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
174 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
175
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
176 <div class="field">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
177 <div class="label label-checkbox">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
178 <label>${_('Meta-Tagging')}:</label>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
179 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
180 <div class="checkboxes">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
181 <div class="checkbox">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
182 ${h.checkbox('rhodecode_stylify_metatags','True')}
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
183 <label for="rhodecode_stylify_metatags">${_('Stylify recognised metatags:')}</label>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
184 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
185 <div style="padding-left: 20px;">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
186 <ul> <!-- Fix style here -->
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
187 <li>[featured] <span class="metatag" tag="featured">featured</span></li>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
188 <li>[stale] <span class="metatag" tag="stale">stale</span></li>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
189 <li>[dead] <span class="metatag" tag="dead">dead</span></li>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
190 <li>[lang =&gt; lang] <span class="metatag" tag="lang" >lang</span></li>
2815
acc05c33cc0c White space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2726
diff changeset
191 <li>[license =&gt; License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License" >License</a></span></li>
2674
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
192 <li>[requires =&gt; Repo] <span class="metatag" tag="requires" >requires =&gt; <a href="#" >Repo</a></span></li>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
193 <li>[recommends =&gt; Repo] <span class="metatag" tag="recommends" >recommends =&gt; <a href="#" >Repo</a></span></li>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
194 <li>[see =&gt; URI] <span class="metatag" tag="see">see =&gt; <a href="#">URI</a> </span></li>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
195 </ul>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
196 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
197 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
198 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
199
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
200 <div class="buttons">
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
201 ${h.submit('save',_('Save settings'),class_="ui-btn large")}
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
202 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
203 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
204
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
205 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
206 </div>
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
207 ${h.end_form()}
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
208
a221706dab50 merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents: 2669
diff changeset
209
2662
91c442a489bb sqlalchemy sessions cleanup in admin
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
210 <h3>${_('VCS settings')}</h3>
91c442a489bb sqlalchemy sessions cleanup in admin
Marcin Kuzminski <marcin@python-works.com>
parents: 2607
diff changeset
211 ${h.form(url('admin_setting', setting_id='vcs'),method='put')}
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
212 <div class="form">
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
213 <!-- fields -->
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
214
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
215 <div class="fields">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
216
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
217 <div class="field">
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
218 <div class="label label-checkbox">
1575
e0b069468de0 Corrected some label-input linking in templates
Augusto Herrmann <augusto.herrmann@planejamento.gov.br>
parents: 1472
diff changeset
219 <label>${_('Web')}:</label>
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
220 </div>
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
221 <div class="checkboxes">
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
222 <div class="checkbox">
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
223 ${h.checkbox('web_push_ssl', 'True')}
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
224 <label for="web_push_ssl">${_('Require SSL for vcs operations')}</label>
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
225 </div>
2669
64bb1c46c861 Added some help text into settings page
Marcin Kuzminski <marcin@python-works.com>
parents: 2668
diff changeset
226 <span class="help-block">${_('RhodeCode will require SSL for pushing or pulling. If SSL is missing it will return HTTP Error 406: Not Acceptable')}</span>
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
227 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
228 </div>
395
e8af467b5a60 Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents: 388
diff changeset
229
e8af467b5a60 Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents: 388
diff changeset
230 <div class="field">
e8af467b5a60 Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents: 388
diff changeset
231 <div class="label label-checkbox">
1575
e0b069468de0 Corrected some label-input linking in templates
Augusto Herrmann <augusto.herrmann@planejamento.gov.br>
parents: 1472
diff changeset
232 <label>${_('Hooks')}:</label>
395
e8af467b5a60 Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents: 388
diff changeset
233 </div>
e8af467b5a60 Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents: 388
diff changeset
234 <div class="checkboxes">
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
235 <div class="checkbox">
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
236 ${h.checkbox('hooks_changegroup_update','True')}
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
237 <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label>
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
238 </div>
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
239 <div class="checkbox">
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
240 ${h.checkbox('hooks_changegroup_repo_size','True')}
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
241 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label>
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
242 </div>
661
673de12e6bf6 added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
243 <div class="checkbox">
2407
8a68e0292232 Change git & hg hooks to post. They shouldn't block as they are used just for logging actions. Futhermore post hooks have access to changesets, so it's much better flexible
Marcin Kuzminski <marcin@python-works.com>
parents: 2223
diff changeset
244 ${h.checkbox('hooks_changegroup_push_logger','True')}
8a68e0292232 Change git & hg hooks to post. They shouldn't block as they are used just for logging actions. Futhermore post hooks have access to changesets, so it's much better flexible
Marcin Kuzminski <marcin@python-works.com>
parents: 2223
diff changeset
245 <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label>
661
673de12e6bf6 added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
246 </div>
673de12e6bf6 added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
247 <div class="checkbox">
2726
aa17c7a1b8a5 Implemented basic locking functionality.
Marcin Kuzminski <marcin@python-works.com>
parents: 2708
diff changeset
248 ${h.checkbox('hooks_outgoing_pull_logger','True')}
aa17c7a1b8a5 Implemented basic locking functionality.
Marcin Kuzminski <marcin@python-works.com>
parents: 2708
diff changeset
249 <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
250 </div>
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
251 </div>
1706
07c8838ebfd3 ui fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 1673
diff changeset
252 <div class="input" style="margin-top:10px">
3572
db62c05837e5 settings: 'Advanced setup' is a link to another form, it shouldn't look like a submit button
Mads Kiilerich <madski@unity3d.com>
parents: 3569
diff changeset
253 ${h.link_to(_('Advanced setup'),url('admin_edit_setting',setting_id='hooks'))}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
254 </div>
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
255 </div>
2708
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
256 <div class="field">
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
257 <div class="label label-checkbox">
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
258 <label>${_('Mercurial Extensions')}:</label>
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
259 </div>
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
260 <div class="checkboxes">
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
261 <div class="checkbox">
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
262 ${h.checkbox('extensions_largefiles','True')}
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
263 <label for="extensions_largefiles">${_('Enable largefiles extension')}</label>
2708
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
264 </div>
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
265 <div class="checkbox">
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
266 ${h.checkbox('extensions_hgsubversion','True')}
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
267 <label for="extensions_hgsubversion">${_('Enable hgsubversion extension')}</label>
2708
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
268 </div>
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
269 <span class="help-block">${_('Requires hgsubversion library installed. Allows cloning from svn remote locations')}</span>
2708
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
270 ##<div class="checkbox">
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
271 ## ${h.checkbox('extensions_hggit','True')}
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
272 ## <label for="extensions_hggit">${_('Enable hg-git extension')}</label>
2708
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
273 ##</div>
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
274 ##<span class="help-block">${_('Requires hg-git library installed. Allows cloning from git remote locations')}</span>
2708
9bce679a3f49 Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents: 2674
diff changeset
275 </div>
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
276 </div>
3920
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
277 %if c.visual.allow_repo_location_change:
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
278 <div class="field">
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
279 <div class="label">
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
280 <label for="paths_root_path">${_('Repositories location')}:</label>
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
281 </div>
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
282 <div class="input">
3920
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
283 ${h.text('paths_root_path',size=30,readonly="readonly", class_="disabled")}
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
284 <span id="path_unlock" class="tooltip" style="cursor: pointer"
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
285 title="${h.tooltip(_('Click to unlock. You must restart RhodeCode in order to make this setting take effect.'))}">
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3582
diff changeset
286 ${_('Unlock')}
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
287 </span>
2669
64bb1c46c861 Added some help text into settings page
Marcin Kuzminski <marcin@python-works.com>
parents: 2668
diff changeset
288 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span>
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
289 </div>
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
290 </div>
3920
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
291 %endif
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
292 <div class="buttons">
2607
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2407
diff changeset
293 ${h.submit('save',_('Save settings'),class_="ui-btn large")}
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2407
diff changeset
294 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
295 </div>
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
296 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
297 </div>
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
298 ${h.end_form()}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
299
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
300 <script type="text/javascript">
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
301 YAHOO.util.Event.onDOMReady(function(){
3920
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
302 YUE.on('path_unlock','click',function(){
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
303 YUD.get('paths_root_path').removeAttribute('readonly');
985db7f7b9b2 Added flag to controll option for changing the repos path location
Marcin Kuzminski <marcin@python-works.com>
parents: 3910
diff changeset
304 YUD.removeClass('paths_root_path', 'disabled')
388
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
305 });
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
306 });
3bcf9529d221 Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents: 383
diff changeset
307 </script>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
308
1673
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
309 <h3>${_('Test Email')}</h3>
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
310 ${h.form(url('admin_setting', setting_id='email'),method='put')}
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
311 <div class="form">
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
312 <!-- fields -->
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
313
1673
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
314 <div class="fields">
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
315 <div class="field">
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
316 <div class="label">
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
317 <label for="test_email">${_('Email to')}:</label>
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
318 </div>
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
319 <div class="input">
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
320 ${h.text('test_email',size=30)}
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
321 </div>
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
322 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
323
1673
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
324 <div class="buttons">
2607
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2407
diff changeset
325 ${h.submit('send',_('Send'),class_="ui-btn large")}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
326 </div>
1673
333b3e7c991f Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents: 1575
diff changeset
327 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
328 </div>
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
329 ${h.end_form()}
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
330
2192
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
331 <h3>${_('System Info and Packages')}</h3>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
332 <div class="form">
3569
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
333 <div>
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
334 <h5 id="expand_modules" style="cursor: pointer">&darr; ${_('Show')} &darr;</h5>
aa8ec270178b settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents: 3408
diff changeset
335 </div>
2192
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
336 <div id="expand_modules_table" style="display:none">
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
337 <h5>Python - ${c.py_version}</h5>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
338 <h5>System - ${c.platform}</h5>
2207
17ff5693566b white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2192
diff changeset
339
2192
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
340 <table class="table" style="margin:0px 0px 0px 20px">
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
341 <colgroup>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
342 <col style="width:220px">
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
343 </colgroup>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
344 <tbody>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
345 %for key, value in c.modules:
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
346 <tr>
2223
528f987f2459 fix ordering of system packages info
Marcin Kuzminski <marcin@python-works.com>
parents: 2207
diff changeset
347 <th style="text-align: right;padding-right:5px;">${key}</th>
2192
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
348 <td>${value}</td>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
349 </tr>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
350 %endfor
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
351 </tbody>
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
352 </table>
2207
17ff5693566b white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2192
diff changeset
353 </div>
2192
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
354 </div>
2207
17ff5693566b white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2192
diff changeset
355
2192
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
356 <script type="text/javascript">
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
357 YUE.on('expand_modules','click',function(e){
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
358 YUD.setStyle('expand_modules_table','display','');
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
359 YUD.setStyle('expand_modules','display','none');
2192
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
360 })
a801c4542f48 added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
361 </script>
2207
17ff5693566b white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2192
diff changeset
362
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 350
diff changeset
363 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
364 </%def>