# HG changeset patch # User domruf # Date 1499026752 -7200 # Node ID 95e5d449f7025574a0a4f853be474b6b67890f83 # Parent 90282e66331383280129f89bc035ebcf9d11badd changelog: only show the 'expand_commit' button if there are more lines to show diff -r 90282e663313 -r 95e5d449f702 kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html Mon Jul 03 21:45:37 2017 +0200 +++ b/kallithea/templates/changelog/changelog.html Sun Jul 02 22:19:12 2017 +0200 @@ -105,14 +105,20 @@
${h.age(cs.date,True)}
<% message_lines = cs.message.splitlines() %> + %if len(message_lines) > 1: + %else: + + %endif
${h.urlify_text(message_lines[0], c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ %if len(message_lines) > 1: + %endif
%if c.comments.get(cs.raw_id):