Changeset - 15cb8156b10d
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 11 years ago 2015-02-09 22:20:38
thomas.de_schampheleire@alcatel-lucent.com
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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/changelog/changelog_summary_data.html
Show inline comments
 
@@ -38,7 +38,7 @@
 
         </div>
 
        </td>
 
        <td>
 
            ${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))}
 
        </td>
 
        <td><span class="tooltip" title="${h.tooltip(h.fmt_date(cs.date))}">
 
                      ${h.age(cs.date)}</span>
0 comments (0 inline, 0 general)