[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB/dtml - customDefaultZPTReport.dtml:1.2

Michel Pelletier michel@zope.com
Thu, 1 Nov 2001 14:02:41 -0500


Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB/dtml
In directory cvs.zope.org:/tmp/cvs-serv32469

Modified Files:
	customDefaultZPTReport.dtml 
Log Message:
added next and previous batch lengths

=== Zope/lib/python/Shared/DC/ZRDB/dtml/customDefaultZPTReport.dtml 1.1 => 1.2 ===
     <a tal:condition="previous"
        tal:attributes="href string:${request/URL0}?start:int=${previous/first}"
-       href="previous_url">previous</a>
+       href="previous_url">previous <span tal:replace="previous/length">20</span> results</a>
     <a tal:condition="next"
        tal:attributes="href string:${request/URL0}?start:int=${next/first}"
-       href="next_url">next</a>
+       href="next_url">next <span tal:replace="next/length">20</span> results</a>
   </p>
 
   %(else no_table)[<table border>
@@ -31,10 +31,10 @@
   <p>
     <a tal:condition="previous"
        tal:attributes="href string:${request/URL0}?start:int=${previous/first}"
-       href="previous_url">previous</a>
+       href="previous_url">previous <span tal:replace="previous/length">20</span> results</a>
     <a tal:condition="next"
        tal:attributes="href string:${request/URL0}?start:int=${next/first}"
-       href="next_url">next</a>
+       href="next_url">next <span tal:replace="next/length">20</span> results</a>
   </p>
 
   </body>