View | Details | Raw Unified | Return to bug 26039
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc (-2 / +2 lines)
Lines 1-13 Link Here
1
[% BLOCK shelfbrowser %]
1
[% BLOCK shelfbrowser %]
2
    [% IF OpenOPACShelfBrowser %]
2
    [% IF OpenOPACShelfBrowser %]
3
        <div id="shelfbrowser">
3
        <div id="shelfbrowser">
4
            <h5 style="text-align: center;">
4
            <h5 style="text-align: center;" tabindex="-1">
5
                [%- IF ( starting_homebranch ) %]Browsing [% starting_homebranch | html %] shelves[% END -%]
5
                [%- IF ( starting_homebranch ) %]Browsing [% starting_homebranch | html %] shelves[% END -%]
6
                [%- IF ( starting_homebranch && starting_location ) %], [% END %]
6
                [%- IF ( starting_homebranch && starting_location ) %], [% END %]
7
                [%- IF ( starting_location ) %]Shelving location: [%- starting_location | html -%][% END -%]
7
                [%- IF ( starting_location ) %]Shelving location: [%- starting_location | html -%][% END -%]
8
                [%- IF ( starting_homebranch && starting_ccode ) %], [% END %]
8
                [%- IF ( starting_homebranch && starting_ccode ) %], [% END %]
9
                [%- IF ( starting_ccode ) %]Collection: [%- starting_ccode | html -%][% END -%]
9
                [%- IF ( starting_ccode ) %]Collection: [%- starting_ccode | html -%][% END -%]
10
                <a style="font-size: 75%;" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]" class="close_shelf" >Close shelf browser</a>
10
                <a style="font-size: 75%;" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]" class="close_shelf" >Close shelf browser<span class="hidden"> (Hides shelfbrowers)</span></a>
11
            </h5>
11
            </h5>
12
12
13
            <table class="table">
13
            <table class="table">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +11 lines)
Lines 1249-1257 Link Here
1249
                            [% ITEM_RESULT.itemcallnumber | html %]
1249
                            [% ITEM_RESULT.itemcallnumber | html %]
1250
                            [% IF ( OPACShelfBrowser ) %]
1250
                            [% IF ( OPACShelfBrowser ) %]
1251
                                [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1251
                                [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1252
                                    (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | html %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | html %]#[% tab | html %]">Browse shelf</a>)
1252
                                    (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | html %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | html %]#[% tab | html %]">Browse shelf<span class="hidden"> (Opens below)</span></a>)
1253
                                [% ELSE %]
1253
                                [% ELSE %]
1254
                                    (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | uri %]#[% tab | uri %]">Browse shelf</a>)
1254
                                    (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | uri %]#[% tab | uri %]">Browse shelf<span class="hidden"> (Opens below)</span></a>)
1255
                                [% END %]
1255
                                [% END %]
1256
                            [% END %]
1256
                            [% END %]
1257
                        [% END %]
1257
                        [% END %]
Lines 1578-1583 Link Here
1578
    [% END %]
1578
    [% END %]
1579
1579
1580
[% IF ( OPACShelfBrowser ) %]
1580
[% IF ( OPACShelfBrowser ) %]
1581
    // Focus on shelf browser if present
1582
    var shelfbrowser = $("#shelfbrowser");
1583
    if (shelfbrowser.length > 0) {
1584
        $('html,body').animate({
1585
            scrollTop: shelfbrowser.first().offset().top
1586
        },
1587
        'slow');
1588
        shelfbrowser.first().find(':focusable').eq(0).focus();
1589
    }
1581
1590
1582
    (function prepareShelfBrowser(){
1591
    (function prepareShelfBrowser(){
1583
1592
1584
- 

Return to bug 26039