Mercurial > kallithea
diff pylons_app/templates/shortlog/shortlog_data.html @ 259:dee1913f7f5a
added message short names for longer descriptions
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 06 Jun 2010 10:57:49 +0200 |
parents | 334402e97550 |
children | 6ada8c223374 |
line wrap: on
line diff
--- a/pylons_app/templates/shortlog/shortlog_data.html Sat Jun 05 21:35:01 2010 +0200 +++ b/pylons_app/templates/shortlog/shortlog_data.html Sun Jun 06 10:57:49 2010 +0200 @@ -3,22 +3,13 @@ from pylons_app.lib import filters %> <table> -<%def name="message_slug(msg)"> - <% - limit = 60 - if len(msg) > limit: - return msg[:limit]+'...' - else: - return msg - %> -</%def> %for cnt,cs in enumerate(c.repo_changesets): <tr class="parity${cnt%2}"> <td>${cs._ctx.date()|n,filters.age}</td> <td title="${cs.author}">${cs.author|n,filters.person}</td> <td>r${cs.revision}</td> <td> - ${h.link_to(message_slug(cs.message), + ${h.link_to(self.message_slug(cs.message), h.url('changeset_home',repo_name=c.repo_name,revision=cs._short), title=cs.message)} </td>