1 <table class='shortlog'>
23 [% FOREACH line IN log_lines %]
25 <td>[% line.sha1.substr(0, 6) %]</td>
26 <td>[% time_since(line.authored_time) %]</td>
27 <td>[% line.author.name | html %]</td>
29 [% # XXX This needs to be moved into a Template::Plugin or some such.
30 cmt = line.comment.split("\n").0;
31 (cmt.length > 80 ? cmt.substr(0, 80) _ '...' : cmt) | html %]
33 [% FOREACH ref IN refs.${line.sha1} %]
34 <span class='[% ref.search('^remotes/') ? 'remote' : 'head' %]'>
35 <a href='[% c.uri_for("shortlog", {h='refs/' _ ref}) %]'>[% ref.replace('^(remote|head)s/', '') %]</a>
40 <td class='action-list'>
41 <a href="[% c.uri_for("commit", {h=line.sha1}) %]">commit</a>
42 <a href="[% c.uri_for("commitdiff", {h=line.sha1}) %]">commitdiff</a>
43 <a href="[% c.uri_for("tree", {h=line.sha1, hb=line.tree_sha1}) %]">tree</a>