diff --git a/pylons_app/templates/index.html b/pylons_app/templates/index.html --- a/pylons_app/templates/index.html +++ b/pylons_app/templates/index.html @@ -1,5 +1,7 @@ ## -*- coding: utf-8 -*- - +<%! +from pylons_app.lib import filters +%> <%inherit file="base/base.html"/> <%def name="title()"> ${c.repos_prefix} Mercurial Repositories @@ -38,7 +40,7 @@ ${h.link(repo['name'],h.url('summary_home',repo_name=repo['name']))} ${repo['description']} - ${repo['last_change']|n,self.f.age} + ${repo['last_change']|n,filters.age} r${repo['rev']}:${repo['tip']} ${repo['contact']}