%if repo['dbrepo']['repo_type'] =='hg':
%elif repo['dbrepo']['repo_type'] =='git':
%else:
%endif
%if repo['dbrepo']['private']:
%else:
%endif
${h.link_to(repo['repo'].name, h.url('summary_home',repo_name=repo['repo'].name),class_="repo_name")}
%if repo['dbrepo_fork']:
%endif
|
${("r%s:%s") % (h.get_changeset_safe(repo['repo'],'tip').revision,h.short_id(h.get_changeset_safe(repo['repo'],'tip').raw_id))} |
![${_('private')}](/images/icons/application_form_edit.png) |
${h.form(url('repo_settings_delete', repo_name=repo['repo'].name),method='delete')}
${h.submit('remove_%s' % repo['repo'].name,'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
${h.end_form()}
|
%endfor
%else:
${_('No repositories yet')}
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
${h.link_to(_('create one now'),h.url('admin_settings_create_repository'))}
%endif
%endif