bodhi/templates/critpath.kid | 9 +++++++++ bodhi/templates/list.kid | 8 ++++++++ bodhi/templates/pending.kid | 9 +++++++++ bodhi/templates/testing.kid | 8 ++++++++ 4 files changed, 34 insertions(+)
New commits: commit 70b0abaa2e4e881792bd16a84ba69a85b7b578a4 Author: Luke Macken lmacken@redhat.com Date: Thu Mar 4 11:46:59 2010 -0500
Add our paginator at the bottom of our grids as well as the top
diff --git a/bodhi/templates/critpath.kid b/bodhi/templates/critpath.kid index 51525ca..00296fe 100644 --- a/bodhi/templates/critpath.kid +++ b/bodhi/templates/critpath.kid @@ -80,5 +80,14 @@ </tr> </table>
+ <div class="list"> + <span py:for="page in tg.paginate.pages"> + <a py:if="page != tg.paginate.current_page" + href="${tg.paginate.get_href(page)}">${page}</a> + <b py:if="page == tg.paginate.current_page">${page}</b> + </span> + <a href="?tg_paginate_limit=${num_items}">all</a> + </div> + </body> </html> diff --git a/bodhi/templates/list.kid b/bodhi/templates/list.kid index 9cb8ee7..4baf2d8 100644 --- a/bodhi/templates/list.kid +++ b/bodhi/templates/list.kid @@ -56,5 +56,13 @@ </tr> </table>
+ <div py:if="num_items" class="list"> + <span py:for="page in tg.paginate.pages"> + <a py:if="page != tg.paginate.current_page" + href="${tg.paginate.get_href(page)}">${page}</a> + <b py:if="page == tg.paginate.current_page">${page}</b> + </span> + </div> + </body> </html> diff --git a/bodhi/templates/pending.kid b/bodhi/templates/pending.kid index 8a19767..3871999 100644 --- a/bodhi/templates/pending.kid +++ b/bodhi/templates/pending.kid @@ -63,5 +63,14 @@ </tr> </table>
+ <div class="list"> + <span py:for="page in tg.paginate.pages"> + <a py:if="page != tg.paginate.current_page" + href="${tg.paginate.get_href(page)}">${page}</a> + <b py:if="page == tg.paginate.current_page">${page}</b> + </span> + <a href="?tg_paginate_limit=${num_items}">all</a> + </div> + </body> </html> diff --git a/bodhi/templates/testing.kid b/bodhi/templates/testing.kid index 05dff2a..8f63743 100644 --- a/bodhi/templates/testing.kid +++ b/bodhi/templates/testing.kid @@ -67,5 +67,13 @@ </tr> </table>
+ <div class="list"> + <span py:for="page in tg.paginate.pages"> + <a py:if="page != tg.paginate.current_page" + href="${tg.paginate.get_href(page)}">${page}</a> + <b py:if="page == tg.paginate.current_page">${page}</b> + </span> + </div> + </body> </html>