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 <nengard@bywatersolutions.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
bbcef720a5
commit
b9f4082f1b
2 changed files with 7 additions and 3 deletions
|
@ -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; }
|
||||
|
|
|
@ -286,9 +286,9 @@ $(document).ready(function(){
|
|||
<div class="yui-b">
|
||||
<div id="userresults" class="container">
|
||||
[% IF ( DidYouMean ) %]
|
||||
<div id='didyoumean'>Not what you expected? Check for <a href='/cgi-bin/koha/svc/suggestion?render=standalone&q=[% querystring | uri %]'>suggestions</a></div>
|
||||
<div id='didyoumean'>Not what you expected? Check for <a href='/cgi-bin/koha/svc/suggestion?render=standalone&q=[% querystring | uri %]'>suggestions</a></div>
|
||||
[% END %]
|
||||
[% INCLUDE 'page-numbers.inc' %]<br />
|
||||
<div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div>
|
||||
[% IF ( koha_spsuggest ) %]
|
||||
Did you mean:
|
||||
<ul style="list-style: none;">
|
||||
|
@ -654,7 +654,7 @@ $(document).ready(function(){
|
|||
</form>
|
||||
</div>
|
||||
[% END %]
|
||||
[% INCLUDE 'page-numbers.inc' %]
|
||||
<div id="bottom-pages">[% INCLUDE 'page-numbers.inc' %]</div>
|
||||
|
||||
[% ELSE %]
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue