Commit | Line | Data |
b3fa97cd |
1 | [% INCLUDE 'commit-nav.tt2' object = commit %] |
2 | |
3 | <div class='commit-message'> |
4 | [% commit.comment.substr(0, 85) %] ... |
5 | </div> |
6 | |
7 | <table> |
8 | <thead> |
9 | <tr> |
10 | <td>mode</td> |
11 | <td>file</td> |
12 | <td>actions</td> |
13 | </tr> |
14 | </thead> |
15 | |
16 | <tbody> |
790ce598 |
17 | [% FOREACH item IN list_tree %] |
b3fa97cd |
18 | <tr> |
19 | <td>[% item.modestr %]</td> |
20 | [% theact = item.type == 'tree' ? 'tree' : 'blob' -%] |
790ce598 |
21 | <td class='filename'> |
b3fa97cd |
22 | <a href="/[% theact %]?h=[% item.object %];hb=[% commit.sha1 %];f=[% item.file %]">[% item.file %]</a> |
23 | </td> |
24 | <td class='action-list'> |
790ce598 |
25 | <a href="/[% theact %]?p=[% project %];h=[% item.object %];hb=[% commit.sha1 %];f=[% item.file %]">[% theact %]</a> |
b3fa97cd |
26 | <a href="/history?p=[% project %];h=[% item.object %]">history</a> |
27 | <a href="/raw?p=[% project %];h=[% item.object %]">raw</a> |
28 | </td> |
29 | </tr> |
30 | [% END %] |
31 | </tbody> |
32 | |
33 | <tfoot> |
34 | <tr> |
35 | <td>mode</td> |
36 | <td>file</td> |
37 | <td>actions</td> |
38 | </tr> |
39 | </tfoot> |
40 | </table> |