X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Ffragment%2Fref%2Fhistory.tt2;h=6f660f4d9ada3d5855a32104952daf6d4258f56b;hb=0493e65778d860a3c78cd429b0ae843e545ebfec;hp=a405234f7ce273f95b6355d04d43bd08a2a61c4c;hpb=2980657b3a81921f42d9ae577d42226746a720fa;p=catagits%2FGitalist.git diff --git a/root/fragment/ref/history.tt2 b/root/fragment/ref/history.tt2 old mode 100644 new mode 100755 index a405234..6f660f4 --- a/root/fragment/ref/history.tt2 +++ b/root/fragment/ref/history.tt2 @@ -1,51 +1,53 @@ -[% - INCLUDE '_log_pager.tt2'; -%] - - - - - - - - - - - - - - - - - - - +[% BLOCK history_table_headfoot %] +[% SET cell = type == 'head' ? 'th' : 'td' %] + +<[% cell %] colspan="2">Compare + <[% cell %]>sha1 + <[% cell %]>time + <[% cell %]>message + <[% cell %]>author + <[% cell %]>actions + +[% END %] + +
sha1timeauthormessageactions
sha1timeauthormessageactions
+ [% PROCESS history_table_headfoot type = 'head' %] [% FOREACH line IN log_lines %] - - + + + + - + + [% END %] + + + +
[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]
[% 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.0 %] [% line.author.name | html %] [% IF filetype == 'tree' %] - tree + blob [% ELSIF filetype == 'blob' %] - blob + blob [% END %] - commitdiff + commitdiff [% IF filetype == 'blob' %] - diff to current + diff to current [% END %]
Compare
-[% - INCLUDE '_log_pager.tt2'; -%] + + +[% filename %] +[% c.uri_for_action('/ref/diff_fancy', [Repository.name, 'HEAD']) %] + +[% INCLUDE 'inc/history_pager.tt2' %]