Bug 12399: Small change to remove the whole paging
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 5 Mar 2015 08:36:48 +0000 (09:36 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 15 Mar 2015 12:09:51 +0000 (09:09 -0300)
Previous patch only removed the next and previous buttons.
This patch changes it a bit to remove the whole paging from
the print view of the page.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc

index b234928..f18c9ce 100644 (file)
@@ -1,8 +1,8 @@
 [% IF ( PAGE_NUMBERS ) %]
-    <div class="pagination pagination-small">
+    <div class="pagination pagination-small noprint">
         <ul>
         [% IF ( previous_page_offset.defined ) %]
-            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]" class="noprint">&laquo; Previous</a></li>
+            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">&laquo; Previous</a></li>
         [% END %]
         [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
             [% IF ( PAGE_NUMBER.highlight ) %]
@@ -12,7 +12,7 @@
             [% END %]
         [% END %]
         [% IF ( next_page_offset ) %]
-            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]" class="noprint">Next &raquo;</a></li>
+            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">Next &raquo;</a></li>
         [% END %]
         </ul>
     </div>