# HG changeset patch # User Thomas De Schampheleire # Date 1423516838 -3600 # Node ID 15cb8156b10d732cf39b37a88c656894621c0f54 # Parent 9488ba27f754076d16c7c6cfb996ccac01a1b89c repository 'latest changes': only show first line of commit message Instead of truncating the commit message at a fixed number of characters, behave like standard version control commands (e.g. hg log) and only show the first line of the commit message in an overview. diff -r 9488ba27f754 -r 15cb8156b10d kallithea/templates/changelog/changelog_summary_data.html --- a/kallithea/templates/changelog/changelog_summary_data.html Mon Feb 09 22:20:28 2015 +0100 +++ b/kallithea/templates/changelog/changelog_summary_data.html Mon Feb 09 22:20:38 2015 +0100 @@ -38,7 +38,7 @@ - ${h.urlify_commit(h.truncate(cs.message,50),c.repo_name, h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} + ${h.urlify_commit(h.chop_at(cs.message,'\n'),c.repo_name, h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} ${h.age(cs.date)}