## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Settings administration')} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Settings')} <%def name="page_nav()"> ${self.menu('admin')} <%def name="main()">
${self.breadcrumbs()}

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

${h.form(url('admin_setting', setting_id='mapping'),method='put')}
${h.checkbox('destroy',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_show_public_icon','True')}
${h.checkbox('rhodecode_show_private_icon','True')}
${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')}
${h.checkbox('hooks_changegroup_update','True')}
${h.checkbox('hooks_changegroup_repo_size','True')}
${h.checkbox('hooks_changegroup_push_logger','True')}
${h.checkbox('hooks_outgoing_pull_logger','True')}
${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")}
${h.checkbox('extensions_largefiles','True')}
${h.checkbox('extensions_hgsubversion','True')}
${_('Requires hgsubversion library installed. Allows clonning from svn remote locations')} ##
## ${h.checkbox('extensions_hggit','True')} ## ##
##${_('Requires hg-git library installed. Allows clonning from git remote locations')}
${h.text('paths_root_path',size=30,readonly="readonly")} ${_('unlock')} ${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}
${h.submit('save',_('Save settings'),class_="ui-btn large")} ${h.reset('reset',_('Reset'),class_="ui-btn large")}
${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')} ↓