Commit 58fbd57b authored by Michel Pelletier's avatar Michel Pelletier

added next and previous batch lengths

parent 1510afd1
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
<p> <p>
<a tal:condition="previous" <a tal:condition="previous"
tal:attributes="href string:${request/URL0}?start:int=${previous/first}" 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" <a tal:condition="next"
tal:attributes="href string:${request/URL0}?start:int=${next/first}" 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> </p>
%(else no_table)[<table border> %(else no_table)[<table border>
...@@ -31,10 +31,10 @@ ...@@ -31,10 +31,10 @@
<p> <p>
<a tal:condition="previous" <a tal:condition="previous"
tal:attributes="href string:${request/URL0}?start:int=${previous/first}" 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" <a tal:condition="next"
tal:attributes="href string:${request/URL0}?start:int=${next/first}" 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> </p>
</body> </body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment