]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/list
And now we have paging support. (And some better docs)
[maypole.git] / templates / factory / list
index efd3a95518fb09e64bde86e16fb7f5b179a569ac..2a159648187e4d099715f8a39a57855febfd3e9a 100644 (file)
@@ -2,7 +2,11 @@
 
 [% INCLUDE header %]
 
+[% IF search %]
+<h2> Search results </h2>
+[% ELSE %]
 <h2> Listing of all [% classmetadata.plural %]</h2>
+[% END %]
 
 [% INCLUDE navbar %]
 <DIV class="search"> [% INCLUDE search_form %] </DIV>
@@ -26,5 +30,7 @@ FOR item = objects;
     "</tr>";
 END %]
 </TABLE>
+
+[% INCLUDE pager; %]
 [% INCLUDE addnew; %]
 </DIV>