Move all the templates back into the 'root' directory, otherwise make install will...
[catagits/Gitalist.git] / root / _heads.tt2
1 <table class='heads'>
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>[% time_since(head.last_change) %]</td>
14    <td class='head[% head.sha1 == HEAD ? ' current' : '' %]'>[% head.name %]</td>
15    <td class='action-list'>
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>
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