Started on making everything a bit less bleh.
[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>
f71a83ab 13 <td>[% time_since(head.last_change) %]</td>
0ee97fec 14 <td class='head[% head.sha1 == HEAD ? ' current' : '' %]'>[% head.name %]</td>
790ce598 15 <td class='action-list'>
f71a83ab 16 <a href="[% c.uri_for("shortlog", {h=head.sha1}) %]">shortlog</a>
17 <a href="[% c.uri_for("log", {h=head.sha1}) %]">log</a>
18 <a href="[% c.uri_for("tree", {h=head.sha1, hb=head.name}) %]">tree</a>
790ce598 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