## -*- coding: utf-8 -*- <%inherit file="base/base.html"/> <%def name="title()"> ${c.repos_prefix} Mercurial Repositories <%def name="breadcrumbs()"> ${c.repos_prefix} Mercurial Repositories <%def name="page_nav()">
  • ${_('Home')}
  • ${h.link_to(u'Admin',h.url('admin_home'))}
  • <%def name="main()"> <%def name="get_sort(name)"> <%name_slug = name.lower().replace(' ','_') %> %if name_slug == c.cs_slug: ${name} %else: ${name} %endif %for cnt,repo in enumerate(c.repos_list): %endfor
    ${get_sort(_('Name'))} ${get_sort(_('Description'))} ${get_sort(_('Last change'))} ${get_sort(_('Tip'))} ${get_sort(_('Contact'))}
    ${h.link(repo['name'],h.url('summary_home',repo_name=repo['name']))} ${repo['description']} ${repo['last_change']|n,self.f.age} r${repo['rev']}:${repo['tip']} ${repo['contact']}