1 [% INCLUDE 'nav/actions.tt2' object = commit %]
3 [% INCLUDE '_log_pager.tt2' %]
6 [%# XXX Nabbed the HTML below from gitweb's log action. %]
7 [% FOREACH line IN log_lines %]
10 [% message = line.comment | html;
11 message.replace("\n", "<br/>") %]
12 <div class='chroma-hash'>[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1 %]</div>
15 <table class='summary' cellspacing='0' cellpadding='0'>
16 <tr><td>author</td><td>[% line.author.name | html %]</td></tr>
17 <tr><td>authored time</td><td>[% line.authored_time %]</td></tr>
18 [% IF line.author.name != line.committer.name %]
19 <tr><td>committer</td><td>[% line.committer.name | html %]</td></tr>
20 <tr><td>committered time</td><td>[% line.committed_time %]</td></tr>
23 <span class="time-since">[% time_since(line.authored_time) %]</span>
24 <div class="action-list">
25 <a href="[% c.uri_for("commit", {h=line.sha}) %]">commit</a>
26 | <a href="[% c.uri_for("commitdiff", {h=line.sha1}) %]">commitdiff</a>
27 | <a href="[% c.uri_for("tree", {h=line.sha1, hb=line.sha1}) %]">tree</a>
36 [% INCLUDE '_log_pager.tt2' %]