Fixed missing diff tree in the commit action.
[catagits/Gitalist.git] / root / fragment / repository / shortlog.tt2
CommitLineData
af8c29dd 1[% BLOCK shortlog_table_headfoot %]
2<tr>
3 <th>sha1</th>
4 <th>time</th>
5 <th>author</th>
6 <th>message</th>
7 <th>actions</th>
8</tr>
9[% END %]
ecb0ebe7 10<div class='content'>
11[%
7e8a7295 12 INCLUDE 'inc/log_pager.tt2';
13%]<table class='shortlog listing'>
14 <thead>
af8c29dd 15 [% PROCESS shortlog_table_headfoot %]
7e8a7295 16 </thead>
17
18 <tfoot>
af8c29dd 19 [% PROCESS shortlog_table_headfoot %]
7e8a7295 20 </tfoot>
21
22 <tbody>
23 [% FOREACH line IN log_lines %]
24 <tr>
25 <td class='sha1' title='[% line.sha1 %]'>[% INCLUDE 'inc/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>
b0265bca 27 <td class='author'><img style="padding-right: 10px" src="[% uri_for_gravatar(line.author.email, 20) %]" />[% line.author.name | html %]</td>
7e8a7295 28 <td>
29 [% short_cmt(line.comment) | html %]
af8c29dd 30 [%# FIXME What did this crap used to do? Did it work ever? %]
56ad40a3 31 [%# INCLUDE '_refs.tt2' object = line %]
7e8a7295 32 </td>
33 <td class='action-list'>
2980657b 34 <a href="[% c.uri_for_action("/ref/commit", [Repository.name, line.sha1]) %]">commit</a>
35 <a href="[% c.uri_for_action("/ref/diff_fancy", [Repository.name, line.sha1]) %]">commitdiff</a>
36 <a href="[% c.uri_for_action("/ref/tree", [Repository.name, line.sha1]) %]">tree</a>
7e8a7295 37 </td>
38 </tr>
39 [% END %]
40 </tbody>
41</table>[%
42 INCLUDE 'inc/log_pager.tt2';
ecb0ebe7 43%]
44</div>