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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (+6 lines)
Lines 2731-2736 button { Link Here
2731
        font-size: 110%;
2731
        font-size: 110%;
2732
        font-weight: bold;
2732
        font-weight: bold;
2733
        text-decoration: none;
2733
        text-decoration: none;
2734
2735
        &.shelfbrowser_cover {
2736
            min-height: 80px;
2737
            min-width: 80px;
2738
            display: inline-block;
2739
        }
2734
    }
2740
    }
2735
2741
2736
    #browser_previous {
2742
    #browser_previous {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc (-40 / +41 lines)
Lines 28-81 Link Here
28
                                [% img_title = item.biblionumber %]
28
                                [% img_title = item.biblionumber %]
29
                            [% END %]
29
                            [% END %]
30
30
31
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser">
31
                            [% IF ( OPACLocalCoverImages || OPACAmazonCoverImages || ( SyndeticsEnabled && SyndeticsCoverImages ) || GoogleJackets || BakerTaylorEnabled || ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) || ( Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') ) ) %]
32
                                [% IF ( OPACLocalCoverImages ) %]
32
                                <a class="shelfbrowser_cover" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser">
33
                                    <div title="[% img_title | html %]" class="[% item.biblionumber | html %] thumbnail-shelfbrowser" id="local-thumbnail-shelf-[% item.biblionumber | html %]"></div>
33
                                    [% IF ( OPACLocalCoverImages ) %]
34
                                [% END %]
34
                                        <div title="[% img_title | html %]" class="[% item.biblionumber | html %] thumbnail-shelfbrowser" id="local-thumbnail-shelf-[% item.biblionumber | html %]"></div>
35
                                [% IF ( OPACAmazonCoverImages ) %]
36
                                    [% IF ( item.browser_normalized_isbn ) %]
37
                                        <img src="https://images-na.ssl-images-amazon.com/images/P/[% item.browser_normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" />
38
                                    [% ELSE %]
39
                                        <span class="no-image">No cover image available</span>
40
                                    [% END %]
35
                                    [% END %]
41
                                [% END %]
36
                                    [% IF ( OPACAmazonCoverImages ) %]
42
37
                                        [% IF ( item.browser_normalized_isbn ) %]
43
                                [% IF ( SyndeticsEnabled ) %]
38
                                            <img src="https://images-na.ssl-images-amazon.com/images/P/[% item.browser_normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" />
44
                                    [% IF ( SyndeticsCoverImages ) %]
45
                                        [% IF ( content_identifier_exists ) %]
46
                                            <img src="https://secure.syndetics.com/index.aspx?isbn=[% item.browser_normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %][% IF ( item.browser_normalized_upc ) %]&amp;upc=[% item.browser_normalized_upc | html %][% END %][% IF ( item.browser_normalized_oclc ) %]&amp;oclc=[% item.browser_normalized_oclc | html %][% END %]&amp;type=xw10" alt="" />
47
                                        [% ELSE %]
39
                                        [% ELSE %]
48
                                            <span class="no-image">No cover image available</span>
40
                                            <span class="no-image">No cover image available</span>
49
                                        [% END %]
41
                                        [% END %]
50
                                    [% END %]
42
                                    [% END %]
51
                                [% END %]
52
43
53
                                [% IF ( GoogleJackets ) %]
44
                                    [% IF ( SyndeticsEnabled ) %]
54
                                    [% IF ( item.browser_normalized_isbn ) %]
45
                                        [% IF ( SyndeticsCoverImages ) %]
55
                                        <div title="[% img_title | html %]" class="[% item.browser_normalized_isbn | html %]" id="gbs-thumbnail-preview[% loop.count | html %]"></div>
46
                                            [% IF ( content_identifier_exists ) %]
56
                                    [% ELSE %]
47
                                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% item.browser_normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %][% IF ( item.browser_normalized_upc ) %]&amp;upc=[% item.browser_normalized_upc | html %][% END %][% IF ( item.browser_normalized_oclc ) %]&amp;oclc=[% item.browser_normalized_oclc | html %][% END %]&amp;type=xw10" alt="" />
57
                                        <span class="no-image">No cover image available</span>
48
                                            [% ELSE %]
49
                                                <span class="no-image">No cover image available</span>
50
                                            [% END %]
51
                                        [% END %]
52
                                    [% END %]
53
54
                                    [% IF ( GoogleJackets ) %]
55
                                        [% IF ( item.browser_normalized_isbn ) %]
56
                                            <div title="[% img_title | html %]" class="[% item.browser_normalized_isbn | html %]" id="gbs-thumbnail-preview[% loop.count | html %]"></div>
57
                                        [% ELSE %]
58
                                            <span class="no-image">No cover image available</span>
59
                                        [% END %]
58
                                    [% END %]
60
                                    [% END %]
59
                                [% END %]
61
                                    [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
60
                                [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
62
                                    [% coce_id = item.browser_normalized_ean || item.browser_normalized_isbn | html %]
61
                                  [% coce_id = item.browser_normalized_ean || item.browser_normalized_isbn | html %]
63
                                    <div title="[% img_title | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview-[% coce_id | html %]"></div>
62
                                  <div title="[% img_title | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview-[% coce_id | html %]"></div>
64
                                    [% END %]
63
                                [% END %]
65
                                    [% IF ( BakerTaylorEnabled ) %]
64
                                [% IF ( BakerTaylorEnabled ) %]
66
                                        [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) | html %]
65
                                    [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) | html %]
67
                                        [% IF ( bt_id ) %]
66
                                    [% IF ( bt_id ) %]
68
                                            <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
67
                                        <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
69
                                        [% ELSE %]
68
                                    [% ELSE %]
70
                                            <span class="no-image">No cover image available</span>
69
                                        <span class="no-image">No cover image available</span>
71
                                        [% END %]
72
                                    [% END %]
73
                                    [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
74
                                        <span class="custom_cover_image">
75
                                            <img alt="Cover image" src="[% item.biblio_object.custom_cover_image_url | url %]" />
76
                                        </span>
70
                                    [% END %]
77
                                    [% END %]
71
                                [% END %]
72
                                [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
73
                                    <span class="custom_cover_image">
74
                                        <img alt="Cover image" src="[% item.biblio_object.custom_cover_image_url | url %]" />
75
                                    </span>
76
                                [% END %]
77
78
78
                            </a>
79
                                </a>
80
                            [% END %]
79
                        </td>
81
                        </td>
80
                    [% END %]
82
                    [% END %]
81
                    <td class="nav-cell" rowspan="2">
83
                    <td class="nav-cell" rowspan="2">
82
- 

Return to bug 25984