Mercurial > kallithea
diff pylons_app/templates/index.html @ 260:6ada8c223374
made global funcion to clean repo names, and remove all special chars from the name.
Switched message slug into webhelpers function
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 06 Jun 2010 21:54:54 +0200 |
parents | dee1913f7f5a |
children | bd70107ef256 |
line wrap: on
line diff
--- a/pylons_app/templates/index.html Sun Jun 06 10:57:49 2010 +0200 +++ b/pylons_app/templates/index.html Sun Jun 06 21:54:54 2010 +0200 @@ -37,7 +37,7 @@ %for cnt,repo in enumerate(c.repos_list): <tr class="parity${cnt%2}"> <td>${h.link(repo['name'],h.url('summary_home',repo_name=repo['name']))}</td> - <td title="${repo['description']}">${self.message_slug(repo['description'])}</td> + <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td> <td>${repo['last_change']|n,filters.age}</td> <td>${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']))}</td> <td title="${repo['contact']}">${repo['contact']|n,filters.person}</td>