From de7c3685704a313785e42e949b133ccdb373e63d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 22 Oct 2010 12:08:52 +0200 Subject: [PATCH] Paginate known Sones. --- src/main/resources/templates/knownSones.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index 862c01e..8a5afbd 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -20,11 +20,16 @@

<%= Page.KnownSones.Page.Title|l10n|html>

- <%foreach knownSones sone> + <%getpage parameter=page> + <%paginate list=knownSones pagesize=2> + <%= page|store key=pageParameter> + <%include include/pagination.html> + <%foreach pagination.items sone> <%include include/viewSone.html> <%foreachelse>
<%= Page.KnownSones.Text.NoKnownSones|l10n|html>
<%/foreach> + <%include include/pagination.html>
<%include include/tail.html> -- 2.7.4