## -*- 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.link_to('advanced setup',url('admin_edit_setting',setting_id='hooks'))}
${h.checkbox('hooks_changegroup_update','True')}
${h.checkbox('hooks_changegroup_repo_size','True')}
${h.checkbox('hooks_pretxnchangegroup_push_logger','True')}
${h.checkbox('hooks_preoutgoing_pull_logger','True')}
${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()}