## -*- coding: utf-8 -*- <%! from pylons_app.lib import filters %> <%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()"> ${self.menu('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,filters.age} r${repo['rev']}:${repo['tip']} ${repo['contact']}