]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/list
Zero search fix and sweet new templates, wheee...
[maypole.git] / templates / factory / list
index a8fd016b95d9fadb7be113804b21a24a83b52d25..beade40e3a5184f998c71096b375d78ba537ab68 100644 (file)
@@ -1,12 +1,7 @@
 [% PROCESS macros %]
 [% INCLUDE header %]
-[% IF search %]
-    <h2>Search results</h2>
-[% ELSE %]
-    <h2>Listing of all [% classmetadata.plural %]</h2>
-[% END %]
+[% INCLUDE title %]
 [% INCLUDE navbar %]
-[% INCLUDE search_form %]
 <div class="list">
     <table id="matrix" width="100%" >
         <tr>
@@ -29,7 +24,7 @@
                 END;
                 "</th>";
             END %]
-           <th>Actions</th>
+           <th id="actionth">Actions</th>
         </tr>
         [%  SET count = 0;
         FOR item = objects;
@@ -41,7 +36,9 @@
             "</tr>";
         END %]
     </table>
+
 [% INCLUDE pager %]
 [% INCLUDE addnew %]
+[% INCLUDE search_form %]
 </div>
 [% INCLUDE footer %]