Commit | Line | Data |
9dc3b9a5 |
1 | <table> |
2 | <thead> |
3 | <tr> |
4 | <td>mode</td> |
5 | <td>file</td> |
6 | <td>actions</td> |
7 | </tr> |
8 | </thead> |
9 | |
10 | <tbody> |
11 | [% FOREACH item IN tree_list %] |
12 | <tr> |
13 | <td>[% item.modestr %]</td> |
14 | [% theact = item.type == 'tree' ? 'tree' : 'blob' -%] |
15 | <td class='filename'> |
b4b4d0fd |
16 | <a href="/[% theact %]?p=[% project %];h=[% item.object %];hb=[% commit.sha1 %];f=[% IF path; path _ '/'; END; item.file %]">[% item.file %]</a> |
9dc3b9a5 |
17 | </td> |
18 | <td class='action-list'> |
19 | <a href="/[% theact %]?p=[% project %];h=[% item.object %];hb=[% commit.sha1 %];f=[% item.file %]">[% theact %]</a> |
20 | <a href="/history?p=[% project %];h=[% item.object %]">history</a> |
21 | <a href="/raw?p=[% project %];h=[% item.object %]">raw</a> |
22 | </td> |
23 | </tr> |
24 | [% END %] |
25 | </tbody> |
26 | |
27 | <tfoot> |
28 | <tr> |
29 | <td>mode</td> |
30 | <td>file</td> |
31 | <td>actions</td> |
32 | </tr> |
33 | </tfoot> |
34 | </table> |