diff pylons_app/templates/shortlog/shortlog_data.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 7ec4463b6e53
line wrap: on
line diff
--- a/pylons_app/templates/shortlog/shortlog_data.html	Sun Jun 06 10:57:49 2010 +0200
+++ b/pylons_app/templates/shortlog/shortlog_data.html	Sun Jun 06 21:54:54 2010 +0200
@@ -9,7 +9,7 @@
 		<td title="${cs.author}">${cs.author|n,filters.person}</td>
 		<td>r${cs.revision}</td>
 		<td>
-			${h.link_to(self.message_slug(cs.message),
+			${h.link_to(h.truncate(cs.message,60),
 			h.url('changeset_home',repo_name=c.repo_name,revision=cs._short),
 			title=cs.message)}
 		</td>