X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Ffragment%2Frepository%2Fshortlog.tt2;h=e0d687cf088928c53c93668725c282305e6646ce;hb=fe89796bdda22aa81e507774db1cdb1af705a28a;hp=d3c14bb56877ed36317c92b292aa2fc97cd0bce7;hpb=18fdf3d00ec24d1ce236e0da9355ad30d780071c;p=catagits%2FGitalist.git diff --git a/root/fragment/repository/shortlog.tt2 b/root/fragment/repository/shortlog.tt2 old mode 100644 new mode 100755 index d3c14bb..e0d687c --- a/root/fragment/repository/shortlog.tt2 +++ b/root/fragment/repository/shortlog.tt2 @@ -1,43 +1,49 @@ [% BLOCK shortlog_table_headfoot %] +[% SET cell = type == 'head' ? 'th' : 'td' %] - sha1 - time - author - message - actions + <[% cell %] colspan="2">Compare + <[% cell %]>ID (sha1) + <[% cell %]>Last change + <[% cell %]>Message + <[% cell %]>By + <[% cell %]>Actions [% END %] -
-[% - INCLUDE 'inc/log_pager.tt2'; -%] - - [% PROCESS shortlog_table_headfoot %] - - - [% PROCESS shortlog_table_headfoot %] - - - + +
+[% PROCESS shortlog_table_headfoot type = 'head' %] + [% FOREACH line IN log_lines %] - - - - - - - - [% END %] - -
[% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %][% time_since(line.authored_time) %][% line.author.name | html %] - [% short_cmt(line.comment) | html %] - [% INCLUDE '_refs.tt2' object = line %] - - commit - commitdiff - tree -
[% - INCLUDE 'inc/log_pager.tt2'; -%] -
+ + + + [% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %] + [% time_since(line.authored_time) %] +

[%- + 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 + tree + + +[% END %] + + Compare + + + + + + +[% c.uri_for_action('/ref/diff_fancy', [Repository.name, 'HEAD']) %] + +[% INCLUDE 'inc/log_pager.tt2' %]