# HG changeset patch # User Thomas De Schampheleire # Date 2015-02-09 22:20:38 # 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 --git a/kallithea/templates/changelog/changelog_summary_data.html b/kallithea/templates/changelog/changelog_summary_data.html --- a/kallithea/templates/changelog/changelog_summary_data.html +++ b/kallithea/templates/changelog/changelog_summary_data.html @@ -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)}