## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${c.repo_name} ${_('Settings')} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${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.textarea('description',cols=23,rows=5)}
${h.checkbox('private',value="True")}
%for r2p in c.repo_info.repo_to_perm: %if r2p.user.username =='default' and c.repo_info.private: %else: %endif %endfor
${_('none')} ${_('read')} ${_('write')} ${_('admin')} ${_('user')}
${_('private repository')} ${r2p.user.username}
${h.radio('perm_%s' % r2p.user.username,'repository.none')} ${h.radio('perm_%s' % r2p.user.username,'repository.read')} ${h.radio('perm_%s' % r2p.user.username,'repository.write')} ${h.radio('perm_%s' % r2p.user.username,'repository.admin')} ${r2p.user.username} %if r2p.user.username !='default': %endif
${h.radio('perm_new_user','repository.none')} ${h.radio('perm_new_user','repository.read')} ${h.radio('perm_new_user','repository.write')} ${h.radio('perm_new_user','repository.admin')}
${h.text('perm_new_user_name',class_='yui-ac-input')}
${_('Add another user')}
${h.submit('update','Update',class_="ui-button ui-widget ui-state-default ui-corner-all")} ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}