Assign names to paginations on the “view Sone” page.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 6 Jun 2011 04:11:01 +0000 (06:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 7 Jun 2011 12:04:26 +0000 (14:04 +0200)
src/main/resources/templates/viewSone.html

index 689ff38..5c8b7ff 100644 (file)
@@ -63,7 +63,7 @@
                <%foreach posts post>
                        <%first>
                                <div id="posts">
                <%foreach posts post>
                        <%first>
                                <div id="posts">
-                                       <%include include/pagination.html pagination=postPagination pageParameter==postPage>
+                                       <%include include/pagination.html pagination=postPagination pageParameter==postPage paginationName==post-navigation>
                        <%/first>
                        <%include include/viewPost.html>
                        <%last>
                        <%/first>
                        <%include include/viewPost.html>
                        <%last>
@@ -78,7 +78,7 @@
                        <%first>
                                <h2><%= Page.ViewSone.Replies.Title|l10n|html|replace needle="{sone}" replacementKey=sone.niceName></h2>
                                <div id="replied-posts">
                        <%first>
                                <h2><%= Page.ViewSone.Replies.Title|l10n|html|replace needle="{sone}" replacementKey=sone.niceName></h2>
                                <div id="replied-posts">
-                                       <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage>
+                                       <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage paginationName==reply-navigation>
                        <%/first>
                        <%include include/viewPost.html>
                        <%last>
                        <%/first>
                        <%include include/viewPost.html>
                        <%last>