X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=blobdiff_plain;f=root%2Ffragment%2Frepository%2Fshortlog.tt2;h=7b2b5b6f7e586df81e2fda2352126663d925657d;hp=6c7414d966c3b598352cf5bad1ac94f40d3bf2e7;hb=08d8bb0825edfcb9b6970ec08d7769d878bd7f49;hpb=eab82ed135b830ff718ee9c581a62085955d754e diff --git a/root/fragment/repository/shortlog.tt2 b/root/fragment/repository/shortlog.tt2 index 6c7414d..7b2b5b6 100755 --- a/root/fragment/repository/shortlog.tt2 +++ b/root/fragment/repository/shortlog.tt2 @@ -19,8 +19,12 @@ [% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %] [% time_since(line.authored_time) %] - [% short_cmt(line.comment) | html %] - [% INCLUDE '_refs.tt2' object = line %] + [% 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 %]