diff --git a/rhodecode/templates/admin/settings/settings.html b/rhodecode/templates/admin/settings/settings.html --- a/rhodecode/templates/admin/settings/settings.html +++ b/rhodecode/templates/admin/settings/settings.html @@ -2,7 +2,10 @@ <%inherit file="/base/base.html"/> <%def name="title()"> - ${_('Settings administration')} · ${c.rhodecode_name} + ${_('Settings administration')} + %if c.rhodecode_name: + · ${c.rhodecode_name} + %endif <%def name="breadcrumbs_links()"> @@ -17,351 +20,39 @@ <%def name="main()">
-
${self.breadcrumbs()}
- - -

${_('Remap and rescan repositories')}

- ${h.form(url('admin_setting', setting_id='mapping'),method='put')} -
- - -
-
-
- -
-
-
- ${h.checkbox('destroy',True)} - -
-
- ${h.checkbox('invalidate',True)} - -
- ${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')} -
-
- -
- ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")} -
-
-
- ${h.end_form()} - -

${_('Whoosh indexing')}

- ${h.form(url('admin_setting', setting_id='whoosh'),method='put')} -
- - -
-
-
- -
-
-
- ${h.checkbox('full_index',True)} - -
-
-
- -
- ${h.submit('reindex',_('Reindex'),class_="ui-btn large")} -
-
-
- ${h.end_form()} - -

${_('Global application settings')}

- ${h.form(url('admin_setting', setting_id='global'),method='put')} -
- - -
- -
-
- -
-
- ${h.text('rhodecode_title',size=30)} -
-
- -
-
- -
-
- ${h.text('rhodecode_realm',size=30)} -
-
- -
-
- -
-
- ${h.text('rhodecode_ga_code',size=30)} -
-
- -
- ${h.submit('save',_('Save settings'),class_="ui-btn large")} - ${h.reset('reset',_('Reset'),class_="ui-btn large")} -
-
-
- ${h.end_form()} - -

${_('Visualisation settings')}

- ${h.form(url('admin_setting', setting_id='visual'),method='put')} -
- - -
-
-
- -
-
-
- ${h.checkbox('rhodecode_repository_fields','True')} - -
- ${_('Allows storing additional customized fields per repository.')} -
- ${h.checkbox('rhodecode_show_version','True')} - -
- ${_('Shows or hides displayed version of RhodeCode in the footer')} -
-
-
-
- -
-
- ${h.text('rhodecode_dashboard_items',size=5)} - ${_('Number of items displayed in lightweight dashboard before pagination is shown.')} -
-
-
-
- -
-
-
- ${h.checkbox('rhodecode_show_public_icon','True')} - -
-
- ${h.checkbox('rhodecode_show_private_icon','True')} - -
- ${_('Show public/private icons next to repositories names')} -
-
-
-
- -
-
-
- ${h.checkbox('rhodecode_stylify_metatags','True')} - -
-
-
    -
  • [featured] featured
  • -
  • [stale] stale
  • -
  • [dead] dead
  • -
  • [lang => lang] lang
  • -
  • [license => License] License
  • -
  • [requires => Repo] requires => Repo
  • -
  • [recommends => Repo] recommends => Repo
  • -
  • [see => URI] see => URI
  • -
-
-
-
- -
- ${h.submit('save',_('Save settings'),class_="ui-btn large")} - ${h.reset('reset',_('Reset'),class_="ui-btn large")} -
- -
-
- ${h.end_form()} - - -

${_('VCS settings')}

- ${h.form(url('admin_setting', setting_id='vcs'),method='put')} -
- - -
- -
-
- -
-
-
- ${h.checkbox('web_push_ssl', 'True')} - -
- ${_('RhodeCode will require SSL for pushing or pulling. If SSL is missing it will return HTTP Error 406: Not Acceptable')} -
-
+ ##main +
+
-
- ${h.end_form()} - - - -

${_('Test Email')}

- ${h.form(url('admin_setting', setting_id='email'),method='put')} -
- - -
-
-
- -
-
- ${h.text('test_email',size=30)} -
-
- -
- ${h.submit('send',_('Send'),class_="ui-btn large")} -
-
-
- ${h.end_form()} - -

${_('System Info and Packages')}

-
-
-
↓ ${_('Show')} ↓
-
- +
- +
+ <%include file="/admin/settings/settings_${c.active}.html"/> +
+
-