## -*- 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 groups')} <%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('repos_group_home',group_name=gr.group_name))}
${gr.group_description} ${gr_cn} ${h.submit('edit_%s' % gr.group_name,_('edit'),class_="edit_icon action_button")} ${h.form(url('repos_group', group_name=gr.group_name),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