## -*- coding: utf-8 -*- <%! from pylons_app.lib import filters %> <%inherit file="base/base.html"/> <%def name="title()"> ${c.repos_prefix} Mercurial Repositories %def> <%def name="breadcrumbs()"> ${c.repos_prefix} Mercurial Repositories %def> <%def name="page_nav()"> ${self.menu('home')} %def> <%def name="main()"> <%def name="get_sort(name)"> <%name_slug = name.lower().replace(' ','_') %> %if name_slug == c.cs_slug: ${name} %else: ${name} %endif ↓ ↑ %def>
${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']} | %for archive in repo['repo_archives']:${h.link_to(archive['type'], h.url('files_archive_home',repo_name=repo['name'], revision='tip',fileformat=archive['extension']),class_="archive_logo" )} | %endfor${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=repo['name']),class_='rss_logo')} | ${h.link_to(_('Atom'),h.url('atom_feed_home',repo_name=repo['name']),class_='atom_logo')} |