## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Repositories groups administration')} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Repositories')} <%def name="page_nav()"> ${self.menu('admin')} <%def name="main()">
${self.breadcrumbs()}
% if c.groups: ## REPO GROUPS % for gr in c.groups: <% gr_cn = gr.repositories.count() %> % endfor
${_('Group name')} ${_('Description')} ${_('Number of toplevel repositories')} ${_('action')}
${_('Repositories group')} ${h.link_to(h.literal(' » '.join(map(h.safe_unicode,[g.name for g in gr.parents+[gr]]))),url('edit_repos_group',id=gr.group_id))}
${gr.group_description} ${gr_cn} ${h.form(url('repos_group', id=gr.group_id),method='delete')} ${h.submit('remove_%s' % gr.name,_('delete'),class_="delete_icon action_button",onclick="return confirm('"+ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_cn) % (gr.name,gr_cn)+"');")} ${h.end_form()}
% else: ${_('There are no repositories groups yet')} % endif