Switch to using 960.gs grids for layout.
[catagits/Gitalist.git] / root / fragment / repository / shortlog.tt2
CommitLineData
af8c29dd 1[% BLOCK shortlog_table_headfoot %]
10938267 2[% SET cell = type == 'head' ? 'th' : 'td' %]
af8c29dd 3<tr>
10938267 4 <[% cell %]>sha1</[% cell %]>
5 <[% cell %]>time</[% cell %]>
6 <[% cell %]>author</[% cell %]>
7 <[% cell %]>message</[% cell %]>
8 <[% cell %]>actions</[% cell %]>
af8c29dd 9</tr>
10[% END %]
ecb0ebe7 11<div class='content'>
10938267 12 [% INCLUDE 'inc/log_pager.tt2' %]
13 <table class='shortlog listing'>
14 <thead>[% PROCESS shortlog_table_headfoot type = 'head' %]</thead>
15 <tfoot>[% PROCESS shortlog_table_headfoot type = 'foot' %]</tfoot>
7e8a7295 16
17 <tbody>
18 [% FOREACH line IN log_lines %]
19 <tr>
20 <td class='sha1' title='[% line.sha1 %]'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]</td>
21 <td class='time-since' title='[% line.authored_time %]'>[% time_since(line.authored_time) %]</td>
b0265bca 22 <td class='author'><img style="padding-right: 10px" src="[% uri_for_gravatar(line.author.email, 20) %]" />[% line.author.name | html %]</td>
7e8a7295 23 <td>
24 [% short_cmt(line.comment) | html %]
18fdf3d0 25 [% INCLUDE '_refs.tt2' object = line %]
7e8a7295 26 </td>
27 <td class='action-list'>
2980657b 28 <a href="[% c.uri_for_action("/ref/commit", [Repository.name, line.sha1]) %]">commit</a>
29 <a href="[% c.uri_for_action("/ref/diff_fancy", [Repository.name, line.sha1]) %]">commitdiff</a>
30 <a href="[% c.uri_for_action("/ref/tree", [Repository.name, line.sha1]) %]">tree</a>
7e8a7295 31 </td>
32 </tr>
33 [% END %]
34 </tbody>
35</table>[%
36 INCLUDE 'inc/log_pager.tt2';
ecb0ebe7 37%]
38</div>