1 <table class='history listing'>
23 [% FOREACH line IN log_lines %]
25 <td class='sha1' title='[% line.sha1 %]'>[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]</td>
26 <td class='time-since' title='[% line.authored_time %]'>[% time_since(line.authored_time) %]</td>
27 <td class='author'>[% line.author.name | html %]</td>
29 [% short_cmt(line.comment) | html %]
30 [% INCLUDE '_refs.tt2' object = line.0 %]
32 <td class='action-list'>
33 [% IF filetype == 'tree' %]
34 <a href="[% c.uri_for("tree", {h=line.sha1, hb=line.sha1}) %]">tree</a>
35 [% ELSIF filetype == 'blob' %]
36 <a href="[% c.uri_for("blob", {hb=line.sha1, f=filename}) %]">blob</a>
38 <a href="[% c.uri_for("commitdiff", {h=line.sha1}) %]">commitdiff</a>
39 [% IF filetype == 'blob' %]
40 <a href="[% c.uri_for("blobdiff", {hb="HEAD", hpb=line.sha1, f=filename}) %]">diff to current</a>