Increase pagination threshold to 25 items.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 22 Oct 2010 12:20:10 +0000 (14:20 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 22 Oct 2010 12:20:10 +0000 (14:20 +0200)
src/main/resources/templates/index.html
src/main/resources/templates/knownSones.html
src/main/resources/templates/viewSone.html

index a2b35b7..5c2fca0 100644 (file)
@@ -4,7 +4,7 @@
 
        <div id="posts">
                <%getpage>
-               <%paginate list=posts pagesize=2>
+               <%paginate list=posts pagesize=25>
                <%= page|store key=pageParameter>
                <%include include/pagination.html>
                <%foreach pagination.items post>
index 8a5afbd..b443e82 100644 (file)
@@ -21,7 +21,7 @@
 
        <div id="known-sones">
                <%getpage parameter=page>
-               <%paginate list=knownSones pagesize=2>
+               <%paginate list=knownSones pagesize=25>
                <%= page|store key=pageParameter>
                <%include include/pagination.html>
                <%foreach pagination.items sone>
index b1af3f8..a15eb8e 100644 (file)
@@ -20,7 +20,7 @@
 
                <div id="posts">
                        <%getpage parameter=postPage>
-                       <%paginate list=sone.posts pagesize=2>
+                       <%paginate list=sone.posts pagesize=25>
                        <%= postPage|store key=pageParameter>
                        <%include include/pagination.html>
                        <%foreach pagination.items post>
@@ -35,7 +35,7 @@
 
                <div id="following">
                        <%getpage parameter=sonePage>
-                       <%paginate list=sone.friends pagesize=2>
+                       <%paginate list=sone.friends pagesize=25>
                        <%= sonePage|store key=pageParameter>
                        <%include include/pagination.html>
                        <%foreach pagination.items sone>