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,7 +1,4 @@
## -*- coding: utf-8 -*-
-<%!
-from pylons_app.lib import filters
-%>
<%inherit file="base/base.html"/>
<%def name="title()">
${c.repos_prefix} Mercurial Repositories
@@ -38,12 +35,12 @@ from pylons_app.lib import filters
${h.link_to(repo['name'],
h.url('summary_home',repo_name=repo['name']))} |
${h.truncate(repo['description'],60)} |
- ${repo['last_change']|n,filters.age} |
+ ${h.age(repo['last_change'])} |
${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),
h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),
class_="tooltip",
tooltip_title=h.tooltip(repo['last_msg']))} |
- ${repo['contact']|n,filters.person} |
+ ${h.person(repo['contact'])} |
|