From: David ‘Bombe’ Roden Date: Fri, 22 Oct 2010 10:08:52 +0000 (+0200) Subject: Paginate known Sones. X-Git-Tag: 0.1-RC1~89 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=de7c3685704a313785e42e949b133ccdb373e63d;p=Sone.git Paginate known Sones. --- 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>