Cleanup heads fragment template
Tomas Doran [Sun, 17 Jan 2010 23:48:08 +0000 (23:48 +0000)]
root/fragment/repository/heads.tt2

index e2e3329..bb7a359 100644 (file)
@@ -1,19 +1,17 @@
-<table class='[% action %] listing'>
- <thead>
-  <tr>
+[% BLOCK repository_heads_headfoot %]
+<tr>
    <th>HEAD</th>
    <th>age</th>
    <th>branch</th>
    <th>actions</th>
-  </tr>
+</tr>
+[% END %]
+<table class='[% action %] listing'>
+ <thead>
+  [% PROCESS repository_heads_headfoot %]
  </thead>
  <tfoot>
-  <tr>
-   <td>HEAD</td>
-   <td>age</td>
-   <td>branch</td>
-   <td>actions</td>
-  </tr>
+  [% PROCESS repository_heads_headfoot %]
  </tfoot>
 
  <tbody>