## -*- 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)}
${h.submit('rescan',_('Rescan repositories'),class_="ui-button")}
${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-button")}
${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-button")} ${h.reset('reset',_('Reset'),class_="ui-button")}
${h.end_form()}

${_('Mercurial settings')}

${h.form(url('admin_setting', setting_id='mercurial'),method='put')}
${h.checkbox('web_push_ssl','true')}
${h.checkbox('hooks_changegroup_update','True')}
${h.checkbox('hooks_changegroup_repo_size','True')}
${h.checkbox('hooks_changegroup_push_logger','True')}
${h.checkbox('hooks_preoutgoing_pull_logger','True')}
${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")}
${h.text('paths_root_path',size=30,readonly="readonly")} ${_('unlock')}
${h.submit('save',_('Save settings'),class_="ui-button")} ${h.reset('reset',_('Reset'),class_="ui-button")}
${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-button")}
${h.end_form()}

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

↓ ${_('show')} ↓