2 INCLUDE 'inc/log_pager.tt2';
3 %] <table class='history listing'>
25 [% FOREACH line IN log_lines %]
27 <td class='sha1' title='[% line.sha1 %]'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]</td>
28 <td class='time-since' title='[% line.authored_time %]'>[% time_since(line.authored_time) %]</td>
29 <td class='author'>[% line.author.name | html %]</td>
31 [% short_cmt(line.comment) | html %]
32 [% INCLUDE '_refs.tt2' object = line.0 %]
34 <td class='action-list'>
35 [% IF filetype == 'tree' %]
36 <a href="[% c.uri_for_action("/ref/tree", [Repository.name, line.sha1], filename) %]">blob</a>
37 [% ELSIF filetype == 'blob' %]
38 <a href="[% c.uri_for_action("/ref/blob", [Repository.name, line.sha1], filename) %]">blob</a>
40 <a href="[% c.uri_for_action("/ref/diff_fancy", [Repository.name, line.sha1]) %]">commitdiff</a>
41 [% IF filetype == 'blob' %]
42 <a href="[% c.uri_for_action("/ref/diff_fancy", [Repository.name, line.sha1], 'HEAD', filename) %]">diff to current</a>
50 INCLUDE 'inc/log_pager.tt2';