Now heads show up in the shortlog and the current head is marked up in the heads...
[catagits/Gitalist.git] / templates / _heads.tt2
CommitLineData
0ee97fec 1<table class='heads'>
790ce598 2 <thead>
3 <tr>
4 <td>age</td>
5 <td>branch</td>
6 <td>actions</td>
7 </tr>
8 </thead>
9
10 <tbody>
11 [% FOREACH head IN heads %]
12 <tr>
13 <td>[% head.last_change %]</td>
0ee97fec 14 <td class='head[% head.sha1 == HEAD ? ' current' : '' %]'>[% head.name %]</td>
790ce598 15 <td class='action-list'>
16 <a href="/shortlog?p=[% project %];h=[% head.sha1 %]">shortlog</a>
17 <a href="/log?p=[% project %];h=[% head.sha1 %]">log</a>
18 <a href="/tree?p=[% project %];h=[% head.sha1 %];hb=[% head.name %]">tree</a>
19 </td>
20 </tr>
21 [% END %]
22 </tbody>
23
24 <tfoot>
25 <tr>
26 <td>age</td>
27 <td>branch</td>
28 <td>actions</td>
29 </tr>
30 </tfoot>
31</table>
32
33