comparison rhodecode/templates/admin/settings/settings.html @ 3569:aa8ec270178b beta

settings: improve texts
author Mads Kiilerich <madski@unity3d.com>
date Wed, 20 Mar 2013 15:00:28 +0100
parents a61ac64c6d43
children db62c05837e5
comparison
equal deleted inserted replaced
3568:9b0c7db2e895 3569:aa8ec270178b
29 <!-- fields --> 29 <!-- fields -->
30 30
31 <div class="fields"> 31 <div class="fields">
32 <div class="field"> 32 <div class="field">
33 <div class="label label-checkbox"> 33 <div class="label label-checkbox">
34 <label for="destroy">${_('rescan option')}:</label> 34 <label for="destroy">${_('Rescan option')}:</label>
35 </div> 35 </div>
36 <div class="checkboxes"> 36 <div class="checkboxes">
37 <div class="checkbox"> 37 <div class="checkbox">
38 ${h.checkbox('destroy',True)} 38 ${h.checkbox('destroy',True)}
39 <label for="destroy"> 39 <label for="destroy">
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.'))}"> 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.'))}">
41 ${_('destroy old data')}</span> </label> 41 ${_('Destroy old data')}</span> </label>
42 </div> 42 </div>
43 <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span> 43 <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span>
44 </div> 44 </div>
45 </div> 45 </div>
46 46
57 <!-- fields --> 57 <!-- fields -->
58 58
59 <div class="fields"> 59 <div class="fields">
60 <div class="field"> 60 <div class="field">
61 <div class="label label-checkbox"> 61 <div class="label label-checkbox">
62 <label>${_('index build option')}:</label> 62 <label>${_('Index build option')}:</label>
63 </div> 63 </div>
64 <div class="checkboxes"> 64 <div class="checkboxes">
65 <div class="checkbox"> 65 <div class="checkbox">
66 ${h.checkbox('full_index',True)} 66 ${h.checkbox('full_index',True)}
67 <label for="full_index">${_('Build from scratch')}</label> 67 <label for="full_index">${_('Build from scratch')}</label>
197 <div class="form"> 197 <div class="form">
198 <!-- fields --> 198 <!-- fields -->
199 199
200 <div class="fields"> 200 <div class="fields">
201 201
202 <div class="field"> 202 <div class="field">
203 <div class="label label-checkbox"> 203 <div class="label label-checkbox">
204 <label>${_('Web')}:</label> 204 <label>${_('Web')}:</label>
205 </div> 205 </div>
206 <div class="checkboxes"> 206 <div class="checkboxes">
207 <div class="checkbox"> 207 <div class="checkbox">
208 ${h.checkbox('web_push_ssl', 'True')} 208 ${h.checkbox('web_push_ssl', 'True')}
209 <label for="web_push_ssl">${_('require ssl for vcs operations')}</label> 209 <label for="web_push_ssl">${_('Require SSL for vcs operations')}</label>
210 </div> 210 </div>
211 <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> 211 <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>
212 </div> 212 </div>
213 </div> 213 </div>
214 214
215 <div class="field"> 215 <div class="field">
216 <div class="label label-checkbox"> 216 <div class="label label-checkbox">
217 <label>${_('Hooks')}:</label> 217 <label>${_('Hooks')}:</label>
218 </div> 218 </div>
219 <div class="checkboxes"> 219 <div class="checkboxes">
220 <div class="checkbox"> 220 <div class="checkbox">
221 ${h.checkbox('hooks_changegroup_update','True')} 221 ${h.checkbox('hooks_changegroup_update','True')}
222 <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label> 222 <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label>
223 </div> 223 </div>
224 <div class="checkbox"> 224 <div class="checkbox">
225 ${h.checkbox('hooks_changegroup_repo_size','True')} 225 ${h.checkbox('hooks_changegroup_repo_size','True')}
226 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label> 226 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label>
227 </div> 227 </div>
228 <div class="checkbox"> 228 <div class="checkbox">
229 ${h.checkbox('hooks_changegroup_push_logger','True')} 229 ${h.checkbox('hooks_changegroup_push_logger','True')}
230 <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label> 230 <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label>
231 </div> 231 </div>
232 <div class="checkbox"> 232 <div class="checkbox">
233 ${h.checkbox('hooks_outgoing_pull_logger','True')} 233 ${h.checkbox('hooks_outgoing_pull_logger','True')}
234 <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label> 234 <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label>
235 </div> 235 </div>
236 </div> 236 </div>
237 <div class="input" style="margin-top:10px"> 237 <div class="input" style="margin-top:10px">
238 ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} 238 ${h.link_to(_('Advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")}
239 </div> 239 </div>
240 </div> 240 </div>
241 <div class="field"> 241 <div class="field">
242 <div class="label label-checkbox"> 242 <div class="label label-checkbox">
243 <label>${_('Mercurial Extensions')}:</label> 243 <label>${_('Mercurial Extensions')}:</label>
244 </div> 244 </div>
245 <div class="checkboxes"> 245 <div class="checkboxes">
246 <div class="checkbox"> 246 <div class="checkbox">
247 ${h.checkbox('extensions_largefiles','True')} 247 ${h.checkbox('extensions_largefiles','True')}
248 <label for="extensions_hgsubversion">${_('largefiles extensions')}</label> 248 <label for="extensions_largefiles">${_('Enable largefiles extension')}</label>
249 </div> 249 </div>
250 <div class="checkbox"> 250 <div class="checkbox">
251 ${h.checkbox('extensions_hgsubversion','True')} 251 ${h.checkbox('extensions_hgsubversion','True')}
252 <label for="extensions_hgsubversion">${_('hgsubversion extensions')}</label> 252 <label for="extensions_hgsubversion">${_('Enable hgsubversion extension')}</label>
253 </div> 253 </div>
254 <span class="help-block">${_('Requires hgsubversion library installed. Allows clonning from svn remote locations')}</span> 254 <span class="help-block">${_('Requires hgsubversion library installed. Allows cloning from svn remote locations')}</span>
255 ##<div class="checkbox"> 255 ##<div class="checkbox">
256 ## ${h.checkbox('extensions_hggit','True')} 256 ## ${h.checkbox('extensions_hggit','True')}
257 ## <label for="extensions_hggit">${_('hg-git extensions')}</label> 257 ## <label for="extensions_hggit">${_('Enable hg-git extension')}</label>
258 ##</div> 258 ##</div>
259 ##<span class="help-block">${_('Requires hg-git library installed. Allows clonning from git remote locations')}</span> 259 ##<span class="help-block">${_('Requires hg-git library installed. Allows cloning from git remote locations')}</span>
260 </div> 260 </div>
261 </div> 261 </div>
262 <div class="field"> 262 <div class="field">
263 <div class="label"> 263 <div class="label">
264 <label for="paths_root_path">${_('Repositories location')}:</label> 264 <label for="paths_root_path">${_('Repositories location')}:</label>
265 </div> 265 </div>
266 <div class="input"> 266 <div class="input">
267 ${h.text('paths_root_path',size=30,readonly="readonly")} 267 ${h.text('paths_root_path',size=30,readonly="readonly")}
268 <span id="path_unlock" class="tooltip" 268 <span id="path_unlock" class="tooltip"
269 title="${h.tooltip(_('This a crucial application setting. If you are really sure you need to change this, you must restart application in order to make this setting take effect. Click this label to unlock.'))}"> 269 title="${h.tooltip(_('This a crucial application setting. If you are really sure you need to change this, you must restart application in order to make this setting take effect. Click this label to unlock.'))}">
270 ${_('unlock')}</span> 270 ${_('unlock')}
271 </span>
271 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span> 272 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span>
272 </div> 273 </div>
273 </div> 274 </div>
274 275
275 <div class="buttons"> 276 <div class="buttons">
310 </div> 311 </div>
311 ${h.end_form()} 312 ${h.end_form()}
312 313
313 <h3>${_('System Info and Packages')}</h3> 314 <h3>${_('System Info and Packages')}</h3>
314 <div class="form"> 315 <div class="form">
315 <div> 316 <div>
316 <h5 id="expand_modules" style="cursor: pointer">&darr; ${_('show')} &darr;</h5> 317 <h5 id="expand_modules" style="cursor: pointer">&darr; ${_('Show')} &darr;</h5>
317 </div> 318 </div>
318 <div id="expand_modules_table" style="display:none"> 319 <div id="expand_modules_table" style="display:none">
319 <h5>Python - ${c.py_version}</h5> 320 <h5>Python - ${c.py_version}</h5>
320 <h5>System - ${c.platform}</h5> 321 <h5>System - ${c.platform}</h5>
321 322
322 <table class="table" style="margin:0px 0px 0px 20px"> 323 <table class="table" style="margin:0px 0px 0px 20px">