From b9f4082f1b38fce056f34a9162b660ef2de7d6b7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 15 Oct 2012 13:20:31 -0400 Subject: [PATCH] Bug 8923 [Revised] Add ids to repeated pagination menus to allow for CSS customization This patch adds ids to each pagination menu on the OPAC search results page so that they can be customized via CSS or JavaScript. To test, modify OpacUserCSS to hide ids "top-pages" and "bottom-pages" and confirm that they are hidden. Also fixed is an unescaped ampersand introduced by Bug 8209. Revision removes debugging changes to an unrelated file. Signed-off-by: Nicole C. Engard Signed-off-by: Paul Poulain --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 4 ++++ koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 92f8b024a6..4211029142 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -2719,6 +2719,10 @@ ul.ui-tabs-nav li { color: #990033; } +#top-pages { + margin: 0 0 0.5em; +} + /* jQuery UI Datepicker */ .ui-datepicker table {width: 100%; font-size: .9em; border : 0; border-collapse: collapse; margin:0 0 .4em; } .ui-datepicker th { background : transparent none; padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt index a3c09e2966..fee24e9652 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -286,9 +286,9 @@ $(document).ready(function(){
[% IF ( DidYouMean ) %] -
Not what you expected? Check for suggestions
+
Not what you expected? Check for suggestions
[% END %] - [% INCLUDE 'page-numbers.inc' %]
+
[% INCLUDE 'page-numbers.inc' %]
[% IF ( koha_spsuggest ) %] Did you mean:
    @@ -654,7 +654,7 @@ $(document).ready(function(){
[% END %] - [% INCLUDE 'page-numbers.inc' %] +
[% INCLUDE 'page-numbers.inc' %]
[% ELSE %] [% END %] -- 2.39.2