## -*- coding: utf-8 -*- ## ## See also repo_edit.html ## <%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Settings') % c.repo_name} · ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${_('Settings')} <%def name="page_nav()"> ${self.menu('repositories')} <%def name="main()"> ${self.context_bar('options')}
${self.breadcrumbs()}
${h.form(url('repo_settings_update', repo_name=c.repo_info.repo_name),method='put')}
${h.text('repo_name',class_="medium")}
${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.')}
%if c.visual.repository_fields: ## EXTRA FIELDS %for field in c.repo_fields:
${h.text(field.field_key_prefixed, field.field_value, class_='medium')} %if field.field_desc: ${field.field_desc} %endif
%endfor %endif
<%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')}

${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 to fully delete it from file system please do it manually')}
${h.end_form()}