Commit | Line | Data |
61b56ed6 |
1 | [% INCLUDE 'nav/actions.tt2' object = commit %] |
790ce598 |
2 | |
ad8884fc |
3 | [% INCLUDE '_log_pager.tt2' %] |
4 | |
7a88ffa4 |
5 | <div id='log'> |
790ce598 |
6 | [%# XXX Nabbed the HTML below from gitweb's log action. %] |
7 | [% FOREACH line IN log_lines %] |
7a88ffa4 |
8 | <div class='entry'> |
9 | <div class="message"> |
10 | [% message = line.comment | html; |
11 | message.replace("\n", "<br/>") %] |
1fd8159c |
12 | <div class='chroma-hash'>[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1 %]</div> |
7a88ffa4 |
13 | </div> |
14 | <div class="meta"> |
15 | <table class='summary' cellspacing='0' cellpadding='0'> |
7a88ffa4 |
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> |
21 | [% END %] |
22 | </table> |
4621ecf0 |
23 | <span class="time-since">[% time_since(line.authored_time) %]</span> |
7a88ffa4 |
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> |
28 | </div> |
29 | </div> |
790ce598 |
30 | |
7a88ffa4 |
31 | </div> |
32 | [% END %] |
790ce598 |
33 | </div> |
34 | |
ad8884fc |
35 | |
36 | [% INCLUDE '_log_pager.tt2' %] |