X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Ffragment%2Frepository%2Fshortlog.tt2;h=e6d5598672fbb294cbd84486f0603369c8fd6576;hb=225bd36dbf284adf49ae0bffe0fc482f228c0011;hp=0cde0108d8ad4d49b5c67e6c8e88f49af461d479;hpb=feb6e8816886de983c0f17a360d715fd5138ed99;p=catagits%2FGitalist.git diff --git a/root/fragment/repository/shortlog.tt2 b/root/fragment/repository/shortlog.tt2 index 0cde010..e6d5598 100755 --- a/root/fragment/repository/shortlog.tt2 +++ b/root/fragment/repository/shortlog.tt2 @@ -20,15 +20,15 @@ [% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %] [% time_since(line.authored_time) %] - - [% IF longlogformat %] - [% message = line.comment | html; message.replace("\n", "
") %] - [% ELSE %] - [% short_cmt(line.comment) | html %] - [% INCLUDE '_refs.tt2' object = line %] - [% END %] - - [% line.author.name | html %] +

[%- + IF longlogformat; + line.comment | html; + ELSE; + short_cmt(line.comment) | html; + + END; + -%]

[% INCLUDE '_refs.tt2' object = line %] + [% INCLUDE 'inc/gravatar.tt2' email = line.author.email %][% line.author.name | html %] commit commitdiff @@ -42,7 +42,7 @@ - [% c.uri_for_action('/ref/diff_fancy', [Repository.name, 'HEAD']) %]