X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Ffragment%2Fref%2Fhistory.tt2;h=868a4deb826d69f21993296725715bbe346b33e5;hb=eab82ed135b830ff718ee9c581a62085955d754e;hp=41dd259bb2e1331b5a816bcec41f5f05beeb37ff;hpb=7998de1265a0e9b2bddd66ab3ee57553e2fdef6a;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 41dd259..868a4de --- a/root/fragment/ref/history.tt2 +++ b/root/fragment/ref/history.tt2 @@ -1,36 +1,27 @@ -[% - INCLUDE 'inc/log_pager.tt2'; -%] - - - - - - - - - - - - - - - - - - - +[% BLOCK history_table_headfoot %] +[% SET cell = type == 'head' ? 'th' : 'td' %] + + <[% cell %]>sha1 + <[% cell %]>time + <[% cell %]>message + <[% cell %]>author + <[% cell %]>actions + +[% END %] +
sha1timeauthormessageactions
sha1timeauthormessageactions
+ [% PROCESS history_table_headfoot type = 'head' %] [% FOREACH line IN log_lines %] - + - + +
[% 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' %] blob