## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Edit repository')} ${c.repo_info.repo_name} - ${c.rhodecode_name}
%def>
<%def name="breadcrumbs_links()">
${h.link_to(_(u'Home'),h.url('/'))}
»
${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
»
${_('edit')}
%def>
<%def name="page_nav()">
${self.menu('options')}
%def>
<%def name="main()">
${_('Administration')}
${_('Statistics')}
${h.form(url('repo_stats', repo_name=c.repo_info.repo_name),method='delete')}
${h.end_form()}
%if c.repo_info.clone_uri:
${_('Remote')}
${h.form(url('repo_pull', repo_name=c.repo_info.repo_name),method='put')}
${h.end_form()}
%endif
${_('Cache')}
${h.form(url('repo_cache', repo_name=c.repo_info.repo_name),method='delete')}
${h.end_form()}
${_('Public journal')}
${h.form(url('repo_public_journal', repo_name=c.repo_info.repo_name),method='put')}
${h.end_form()}
${_('Locking')}
${h.form(url('repo_locking', repo_name=c.repo_info.repo_name),method='put')}
${h.end_form()}
${_('Set as fork of')}
${h.form(url('repo_as_fork', repo_name=c.repo_info.repo_name),method='put')}
${h.end_form()}
${_('Delete')}
${h.form(url('repo', repo_name=c.repo_info.repo_name),method='delete')}
${h.end_form()}
##TODO: this should be controlled by the VISUAL setting
%if c.visual.repository_fields: