Bug 12399: Small change to remove the whole paging

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>
This commit is contained in:
Katrin Fischer 2015-03-05 09:36:48 +01:00 committed by Tomas Cohen Arazi
parent 21d05006c0
commit 66db4a64ef

View file

@ -1,8 +1,8 @@
[% IF ( PAGE_NUMBERS ) %] [% IF ( PAGE_NUMBERS ) %]
<div class="pagination pagination-small"> <div class="pagination pagination-small noprint">
<ul> <ul>
[% IF ( previous_page_offset.defined ) %] [% 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 %] [% END %]
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %] [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
[% IF ( PAGE_NUMBER.highlight ) %] [% IF ( PAGE_NUMBER.highlight ) %]
@ -12,7 +12,7 @@
[% END %] [% END %]
[% END %] [% END %]
[% IF ( next_page_offset ) %] [% 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 %] [% END %]
</ul> </ul>
</div> </div>