Add name of pagination as CSS class.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Apr 2011 11:19:26 +0000 (13:19 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Apr 2011 11:19:26 +0000 (13:19 +0200)
src/main/resources/templates/include/pagination.html

index a5efc97..f8e6f11 100644 (file)
@@ -1,5 +1,5 @@
 <%if pagination.necessary>
-       <div class="navigation">
+       <div class="navigation <%paginationName|html>">
                <div class="first"><%if ! pagination.first><a href="<% request|change nameKey=pageParameter value=0>">«</a><%else><span>«</span><%/if></div>
                <div class="previous"><%if ! pagination.first><a href="<% request|change nameKey=pageParameter key=pagination.previousPage>">‹</a><%else><span>‹</span><%/if></div>
                <div class="current-page"><% pagination.pageNumber></div>