Files
@ 4c78a0855a17
Branch filter:
Location: kallithea/rhodecode/templates/admin/repos_groups/repos_groups_show.html - annotation
4c78a0855a17
2.9 KiB
text/html
Fix 'repos group' - it is 'repository group'
3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 1f334a68d057 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 f74be3359044 f74be3359044 b8f929bff7e3 3bce31f026b8 eacd33e0c5b3 3bce31f026b8 3bce31f026b8 3bce31f026b8 eacd33e0c5b3 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 199fd214b213 199fd214b213 199fd214b213 f91d3f9b7230 f91d3f9b7230 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 f91d3f9b7230 3bce31f026b8 3bce31f026b8 3bce31f026b8 3bce31f026b8 2c0d35e336b5 d7282940d779 3bce31f026b8 3bce31f026b8 f91d3f9b7230 3bce31f026b8 f91d3f9b7230 3bce31f026b8 08f89c688592 3bce31f026b8 3bce31f026b8 3bce31f026b8 5f1850e4712a d7282940d779 3bce31f026b8 3bce31f026b8 3bce31f026b8 08f89c688592 d7282940d779 b4daef4cc26d d7282940d779 81bbb8086f03 d7282940d779 d7282940d779 b4daef4cc26d d7282940d779 d7282940d779 81bbb8086f03 3bce31f026b8 3bce31f026b8 f91d3f9b7230 3bce31f026b8 3bce31f026b8 5f1850e4712a 3bce31f026b8 f91d3f9b7230 3bce31f026b8 f91d3f9b7230 f91d3f9b7230 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repository groups administration')} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
»
${_('repository groups')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
<ul class="links">
<li>
%if h.HasPermissionAny('hg.admin')():
<span>${h.link_to(_(u'Add group'),h.url('new_repos_group'))}</span>
%endif
</li>
</ul>
</div>
<!-- end box / title -->
<div class="table">
% if c.groups:
<table class="table_disp">
<thead>
<tr>
<th class="left"><a href="#">${_('Group name')}</a></th>
<th class="left"><a href="#">${_('Description')}</a></th>
<th class="left"><a href="#">${_('Number of toplevel repositories')}</a></th>
<th class="left" colspan="2">${_('action')}</th>
</tr>
</thead>
## REPO GROUPS
% for gr in c.groups:
<% gr_cn = gr.repositories.count() %>
<tr>
<td>
<div style="white-space: nowrap">
<img class="icon" alt="${_('Repository group')}" src="${h.url('/images/icons/database_link.png')}"/>
${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))}
</div>
</td>
<td>${gr.group_description}</td>
<td><b>${gr_cn}</b></td>
<td>
<a href="${h.url('edit_repos_group',group_name=gr.group_name)}" title="${_('edit')}">
${h.submit('edit_%s' % gr.group_name,_('edit'),class_="edit_icon action_button")}
</a>
</td>
<td>
${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()}
</td>
</tr>
% endfor
</table>
% else:
${_('There are no repository groups yet')}
% endif
</div>
</div>
</%def>
|