%if repo['dbrepo']['repo_type'] =='hg':
%elif repo['dbrepo']['repo_type'] =='git':
%else:
%endif
%if repo['dbrepo']['private']:
%else:
%endif
${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")}
%if repo['dbrepo_fork']:
%endif
|
${("r%s:%s") % (repo['rev'],h.short_id(repo['tip']))} |
|
${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')}
${h.submit('remove_%s' % 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'),class_="ui-button-small")}
%endif
%endif