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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-9 / +8 lines)
Lines 57-63 Link Here
57
57
58
                    <div id="bookcover">
58
                    <div id="bookcover">
59
                    [% IF ( OPACLocalCoverImages ) %]
59
                    [% IF ( OPACLocalCoverImages ) %]
60
                        <div title="[% biblionumber |url %]" class="[% biblio.biblionumber %]" id="local-thumbnail-preview"></div>
60
                        <div title="[% biblio.biblionumber %]" class="[% biblio.biblionumber %]" id="local-thumbnail-preview"></div>
61
                    [% END %]
61
                    [% END %]
62
                    [% IF ( OPACAmazonCoverImages ) %]
62
                    [% IF ( OPACAmazonCoverImages ) %]
63
                        [% IF ( OPACURLOpenInNewWindow ) %]
63
                        [% IF ( OPACURLOpenInNewWindow ) %]
Lines 82-95 Link Here
82
                    [% END %]
82
                    [% END %]
83
83
84
                    [% IF ( GoogleJackets ) %]
84
                    [% IF ( GoogleJackets ) %]
85
                        <div title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="gbs-thumbnail-preview"></div>
85
                        <div title="[% biblio.biblionumber %]" class="[% normalized_isbn %]" id="gbs-thumbnail-preview"></div>
86
                    [% END %]
86
                    [% END %]
87
                    [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
87
                    [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
88
                      [% coce_id = normalized_ean || normalized_isbn %]
88
                      [% coce_id = normalized_ean || normalized_isbn %]
89
                      <div style="block" title="[% biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail-preview"></div>
89
                      <div style="block" title="[% biblio.biblionumber %]" class="[% coce_id %]" id="coce-thumbnail-preview"></div>
90
                    [% END %]
90
                    [% END %]
91
                    [% IF OpenLibraryCovers %]
91
                    [% IF OpenLibraryCovers %]
92
                        <div title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="openlibrary-thumbnail-preview"></div>
92
                        <div title="[% biblio.biblionumber %]" class="[% normalized_isbn %]" id="openlibrary-thumbnail-preview"></div>
93
                    [% END %]
93
                    [% END %]
94
                    [% bt_id = ( normalized_upc || normalized_isbn ) %]
94
                    [% bt_id = ( normalized_upc || normalized_isbn ) %]
95
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
95
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
Lines 344-356 Link Here
344
344
345
                                        [% IF ( OPACURLOpenInNewWindow ) %]
345
                                        [% IF ( OPACURLOpenInNewWindow ) %]
346
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
346
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
347
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&amp;biblionumber=[% biblionumber | url %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
347
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&amp;biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
348
                                            [% ELSE %]
348
                                            [% ELSE %]
349
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
349
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
350
                                            [% END %]
350
                                            [% END %]
351
                                        [% ELSE %]
351
                                        [% ELSE %]
352
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
352
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
353
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&amp;biblionumber=[% biblionumber | url %]" title="[% MARCurl.MARCURL %]">
353
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&amp;biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]">
354
                                            [% ELSE %]
354
                                            [% ELSE %]
355
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">
355
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">
356
                                            [% END %]
356
                                            [% END %]
Lines 1316-1324 Link Here
1316
                            [% IF ITEM_RESULT.uri %]
1316
                            [% IF ITEM_RESULT.uri %]
1317
                                [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1317
                                [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1318
                                    [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1318
                                    [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1319
                                    <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblionumber |url %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1319
                                    <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1320
                                    [% ELSE %]
1320
                                    [% ELSE %]
1321
                                    <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblionumber |url %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1321
                                    <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1322
                                    [% END %]
1322
                                    [% END %]
1323
1323
1324
                                [% ELSE %]
1324
                                [% ELSE %]
1325
- 

Return to bug 19319