Commit | Line | Data |
c8bb9a72 |
1 | [% BLOCK repository_heads_headfoot %] |
2 | <tr> |
ecb0ebe7 |
3 | <th>HEAD</th> |
4 | <th>age</th> |
5 | <th>branch</th> |
6 | <th>actions</th> |
c8bb9a72 |
7 | </tr> |
8 | [% END %] |
9 | <table class='[% action %] listing'> |
10 | <thead> |
11 | [% PROCESS repository_heads_headfoot %] |
ecb0ebe7 |
12 | </thead> |
13 | <tfoot> |
c8bb9a72 |
14 | [% PROCESS repository_heads_headfoot %] |
ecb0ebe7 |
15 | </tfoot> |
16 | |
17 | <tbody> |
18 | [% FOREACH head IN heads %] |
19 | <tr> |
7e8a7295 |
20 | <td class='sha1' title='[% head.sha1 %]'>[% INCLUDE 'inc/chroma_hash.tt2' sha1 = head.sha1.substr(0,7) %]</td> |
ecb0ebe7 |
21 | <td class='time-since' title='[% head.last_change %]'>[% time_since(head.last_change) %]</td> |
22 | <td class='head[% head.sha1 == HEAD ? ' current' : '' %]'>[% head.name %]</td> |
23 | <td class='action-list'> |
24 | <a href="[% c.uri_for("shortlog", {h='refs/heads/' _ head.name}) %]">shortlog</a> |
25 | <a href="[% c.uri_for("log", {h='refs/heads/' _ head.name}) %]">log</a> |
26 | <a href="[% c.uri_for("tree", {h='refs/heads/' _ head.name, hb=head.name}) %]">tree</a> |
27 | </td> |
28 | </tr> |
29 | [% END %] |
30 | </tbody> |
31 | </table> |