diff --git a/pylons_app/templates/summary.html b/pylons_app/templates/summary.html --- a/pylons_app/templates/summary.html +++ b/pylons_app/templates/summary.html @@ -49,13 +49,25 @@ from pylons_app.lib import filters

${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}

+ <%def name="message_slug(msg)"> + <% + limit = 60 + if len(msg) > limit: + return msg[:limit]+'...' + else: + return msg + %> + %for cnt,cs in enumerate(c.repo_changesets): - + +
${cs._ctx.date()|n,filters.age}${cs.author}${cs.author|n,filters.person} - - ${h.link_to(cs.message,h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))} + ${h.link_to(message_slug(cs.message), + h.url('changeset_home',repo_name=c.repo_name,revision=cs._short), + title=cs.message)} + ${cs.branch} %for tag in cs.tags: