Move pagination directly below the list.
[Sone.git] / src / main / resources / templates / bookmarks.html
index af592db..315a5e1 100644 (file)
@@ -8,12 +8,13 @@
                <%include include/pagination.html>
                <%foreach posts post>
                        <%if post.loaded>
-                               <%= true|store key=postShown>
+                               <%= true|store key=postShown parent=true>
                                <%include include/viewPost.html>
                        <%else>
-                               <%= true|store key=postNotLoaded>
+                               <%= true|store key=postNotLoaded parent=true>
                        <%/if>
                <%/foreach>
+               <%include include/pagination.html>
                <%if postNotLoaded>
                        <p><%= Page.Bookmarks.Text.PostsNotLoaded|l10n|html></p>
                <%else>
@@ -21,7 +22,6 @@
                                <p><%= Page.Bookmarks.Text.NoBookmarks|l10n|html></p>
                        <%/if>
                <%/if>
-               <%include include/pagination.html>
        </div>
 
 <%include include/tail.html>