## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Settings') % c.repo_name} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))} » ${_('Settings')} <%def name="page_nav()"> ${self.menu('settings')} <%def name="main()">
${self.breadcrumbs()}
${h.form(url('repo_settings_update', repo_name=c.repo_info.repo_name),method='put')}
${h.text('repo_name',class_="small")}
${h.text('clone_uri',class_="medium")} ${_('Optional http[s] url from which repository should be cloned.')}
${h.select('repo_group','',c.repo_groups,class_="medium")} ${_('Optional select a group to put this repository into.')}
${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} ${_('Default revision for files page, downloads, whoosh and readme')}
${h.textarea('repo_description')} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
${h.checkbox('repo_private',value="True")} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
<%include file="../admin/repos/repo_edit_perms.html"/>
${h.submit('save',_('Save'),class_="ui-btn large")} ${h.reset('reset',_('Reset'),class_="ui-btn large")}
${h.end_form()}

${_('Delete repository')}

${h.form(url('repo_settings_delete', repo_name=c.repo_info.repo_name),method='delete')}
${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")}
  • ${_('''This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need fully delete it from file system please do it manually''')}
${h.end_form()}