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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +4 lines)
Lines 141-149 Link Here
141
        [% END %]
141
        [% END %]
142
        [% IF ( IntranetCoce && CoceProviders ) %]
142
        [% IF ( IntranetCoce && CoceProviders ) %]
143
          [% coce_id = normalized_ean || normalized_isbn %]
143
          [% coce_id = normalized_ean || normalized_isbn %]
144
            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% biblionumber |url %]">
144
            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% biblionumber | url %]">
145
          [% IF ( coce_id ) %]
145
          [% IF ( coce_id ) %]
146
            <span style="block" title="[% biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail-preview"></span>
146
            <span style="block" title="[% biblionumber | url %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></span>
147
          [% ELSE %]
147
          [% ELSE %]
148
            <span class="no-image">No cover image available</span>
148
            <span class="no-image">No cover image available</span>
149
          [% END %]
149
          [% END %]
Lines 768-774 Link Here
768
    [% INCLUDE 'catalog-strings.inc' %]
768
    [% INCLUDE 'catalog-strings.inc' %]
769
    [% Asset.js("js/catalog.js") | $raw %]
769
    [% Asset.js("js/catalog.js") | $raw %]
770
    [% INCLUDE 'greybox.inc' %]
770
    [% INCLUDE 'greybox.inc' %]
771
    [% Asset.js("js/coce.js") %]
771
    [% Asset.js("js/coce.js") | $raw %]
772
    <script>
772
    <script>
773
        var interface = "[% interface | html %]";
773
        var interface = "[% interface | html %]";
774
        var theme = "[% theme | html %]";
774
        var theme = "[% theme | html %]";
Lines 932-938 Link Here
932
                KOHA.LocalCover.GetCoverFromBibnumber(true);
932
                KOHA.LocalCover.GetCoverFromBibnumber(true);
933
            [% END %]
933
            [% END %]
934
            [% IF ( IntranetCoce && CoceProviders ) %]
934
            [% IF ( IntranetCoce && CoceProviders ) %]
935
                KOHA.coce.getURL('[% CoceHost %]', '[% CoceProviders %]');
935
                KOHA.coce.getURL('[% CoceHost | html %]', '[% CoceProviders | html %]');
936
            [% END %]
936
            [% END %]
937
937
938
            $("body").on("click",".previewMARC", function(e){
938
            $("body").on("click",".previewMARC", function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-6 / +5 lines)
Lines 408-420 Link Here
408
                                                    [% END # /IF AmazonCoverImages %]
408
                                                    [% END # /IF AmazonCoverImages %]
409
                                                    [% IF ( IntranetCoce && CoceProviders ) %]
409
                                                    [% IF ( IntranetCoce && CoceProviders ) %]
410
                                                        [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn %]
410
                                                        [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn %]
411
                                                            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
411
                                                            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber | url %]">
412
                                                        [% IF ( coce_id ) %]
412
                                                        [% IF ( coce_id ) %]
413
                                                            <span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span>
413
                                                            <span style="block" title="[% SEARCH_RESULT.biblionumber | url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
414
                                                        [% ELSE %]
414
                                                        [% ELSE %]
415
                                                            <span class="no-image">No cover image available</span>
415
                                                            <span class="no-image">No cover image available</span>
416
                                                        [% END %]
416
                                                        [% END %]
417
                                                        </a>
417
                                                            </a>
418
                                                    [% END %]
418
                                                    [% END %]
419
                                                </td>
419
                                                </td>
420
                                            [% END # /IF( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce )%]
420
                                            [% END # /IF( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce )%]
Lines 664-670 Link Here
664
    [% Asset.js("js/browser.js") | $raw %]
664
    [% Asset.js("js/browser.js") | $raw %]
665
    [% Asset.js("lib/hc-sticky.js") | $raw %]
665
    [% Asset.js("lib/hc-sticky.js") | $raw %]
666
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
666
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
667
    [% Asset.js("js/coce.js") %]
667
    [% Asset.js("js/coce.js") | $raw %]
668
    <script>
668
    <script>
669
        var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
669
        var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
670
        var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be placed on hold.");
670
        var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be placed on hold.");
Lines 809-815 Link Here
809
            [% END %]
809
            [% END %]
810
810
811
            [% IF ( IntranetCoce && CoceProviders ) %]
811
            [% IF ( IntranetCoce && CoceProviders ) %]
812
                KOHA.coce.getURL('[% CoceHost %]', '[% CoceProviders %]');
812
                KOHA.coce.getURL('[% CoceHost | html %]', '[% CoceProviders | html %]');
813
            [% END %]
813
            [% END %]
814
814
815
            $("#select_all").on("click",function(e){
815
            $("#select_all").on("click",function(e){
816
- 

Return to bug 18421