Fixup links in shortlog to to the new locations.
[catagits/Gitalist.git] / root / fragment / repository / shortlog.tt2
CommitLineData
ecb0ebe7 1<div class='content'>
2[%
7e8a7295 3 INCLUDE 'inc/log_pager.tt2';
4%]<table class='shortlog listing'>
5 <thead>
6 <tr>
7 <th>sha1</th>
8 <th>time</th>
9 <th>author</th>
10 <th>message</th>
11 <th>actions</th>
12 </tr>
13 </thead>
14
15 <tfoot>
16 <tr>
17 <td>sha1</td>
18 <td>time</td>
19 <td>author</td>
20 <td>message</td>
21 <td>actions</td>
22 </tr>
23 </tfoot>
24
25 <tbody>
26 [% FOREACH line IN log_lines %]
27 <tr>
28 <td class='sha1' title='[% line.sha1 %]'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]</td>
29 <td class='time-since' title='[% line.authored_time %]'>[% time_since(line.authored_time) %]</td>
30 <td class='author'>[% line.author.name | html %]</td>
31 <td>
32 [% short_cmt(line.comment) | html %]
56ad40a3 33 [%# FIXME What did this crap used to do? Did it work ever? %]
34 [%# INCLUDE '_refs.tt2' object = line %]
7e8a7295 35 </td>
36 <td class='action-list'>
56ad40a3 37 <a href="[% c.uri_for_action("/commit/commit", [Repository.name, line.sha1]) %]">commit</a>
38 <a href="[% c.uri_for_action("/commit/diff", [Repository.name, line.sha1]) %]">commitdiff</a>
39 <a href="[% c.uri_for_action("/commit/tree", [Repository.name, line.sha1]) %]">tree</a>
7e8a7295 40 </td>
41 </tr>
42 [% END %]
43 </tbody>
44</table>[%
45 INCLUDE 'inc/log_pager.tt2';
ecb0ebe7 46%]
47</div>