## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Repositories administration')} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Repositories')} <%def name="page_nav()"> ${self.menu('admin')} <%def name="main()">
${self.breadcrumbs()}
%for cnt,repo in enumerate(c.repos_list): %endfor
${_('Name')} ${_('Description')} ${_('Last change')} ${_('Tip')} ${_('Contact')} ${_('action')}
## TYPE OF REPO %if repo['dbrepo'].repo_type =='hg': ${_('Mercurial repository')} %elif repo['dbrepo'].repo_type =='git': ${_('Git repository')} %else: %endif ## PRIVATE/PUBLIC REPO %if repo['dbrepo'].private: ${_('private')} %else: ${_('public')} %endif ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))} %if repo['dbrepo'].fork: ${_('public')} %endif ${h.truncate(repo['description'],60)} ${h.age(repo['last_change'])} %if repo['rev']>=0: ${h.link_to('r%s:%s' % (repo['rev'],h.short_id(repo['tip'])), h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']), class_="tooltip", title=h.tooltip(repo['last_msg']))} %else: ${_('No changesets yet')} %endif ${h.person(repo['contact'])} ${h.form(url('repo', repo_name=repo['name']),method='delete')} ${h.submit('remove_%s' % repo['name'],'delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} ${h.end_form()}