<h4>${_('Repository Group: %s') % c.repo_group.group_name}</h4>

<dl class="dl-horizontal">
<%
 elems = [
    (_('Top level repositories'), c.repo_group.repositories.count(), ''),
    (_('Total repositories'), c.repo_group.repositories_recursive_count, ''),
    (_('Children groups'), c.repo_group.children.count(), ''),
    (_('Created on'), h.fmt_date(c.repo_group.created_on), ''),
    (_('Owner'), c.repo_group.owner.username, ''),
 ]
%>
%for dt, dd, tt in elems:
  <dt>${dt}:</dt>
  <dd title="${tt}">${dd}</dd>
%endfor
</dl>

${h.form(h.url('delete_repo_group', group_name=c.repo_group.group_name))}
    <button class="btn btn-danger btn-sm" type="submit"
            onclick="return confirm('${ungettext('Confirm to delete this group: %s with %s repository',
          'Confirm to delete this group: %s with %s repositories',
 c.repo_group.repositories_recursive_count) % (c.repo_group.group_name, c.repo_group.repositories_recursive_count)}');">
        <i class="icon-trashcan"></i>
        ${_('Delete this repository group')}
    </button>
${h.end_form()}
