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 1583-1588 Link Here
1583
    [% END %]
1583
    [% END %]
1584
1584
1585
[% IF ( OPACShelfBrowser ) %]
1585
[% IF ( OPACShelfBrowser ) %]
1586
    // Focus on shelf browser if present
1587
    var shelfbrowser = $("#shelfbrowser");
1588
    if (shelfbrowser.length > 0) {
1589
        $('html,body').animate({
1590
                scrollTop: shelfbrowser.first().offset().top
1591
            },
1592
        'slow');
1593
        shelfbrowser.first().find(':focusable').eq(0).focus();
1594
    }
1586
1595
1587
    (function prepareShelfBrowser(){
1596
    (function prepareShelfBrowser(){
1588
1597
1589
- 

Return to bug 26039