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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 1269-1275 Note that permanent location is a code, and location may be an authval. Link Here
1269
        $(document).ready(function() {
1269
        $(document).ready(function() {
1270
            var ids = ['holdings_table', 'otherholdings_table'];
1270
            var ids = ['holdings_table', 'otherholdings_table'];
1271
            var columns_settings = [ [% TablesSettings.GetColumns('catalogue', 'detail','holdings_table','json') | $raw %], [% TablesSettings.GetColumns('catalogue', 'detail','otherholdings_table','json')  | $raw %] ];
1271
            var columns_settings = [ [% TablesSettings.GetColumns('catalogue', 'detail','holdings_table','json') | $raw %], [% TablesSettings.GetColumns('catalogue', 'detail','otherholdings_table','json')  | $raw %] ];
1272
            var has_images = ["[% itemloop_has_images %]", "[% otheritemloop_has_images %]"];
1272
            var has_images = ["[% itemloop_has_images | html %]", "[% otheritemloop_has_images | html %]"];
1273
            for (var i in ids) {
1273
            for (var i in ids) {
1274
                var id = ids[i];
1274
                var id = ids[i];
1275
                if ( !has_images[i] ) { // remove the cover_image column
1275
                if ( !has_images[i] ) { // remove the cover_image column
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt (-2 / +1 lines)
Lines 56-62 Link Here
56
            <div class="col-md-4">
56
            <div class="col-md-4">
57
                <ul class="thumbnails">
57
                <ul class="thumbnails">
58
                    [% FOREACH image IN images %]
58
                    [% FOREACH image IN images %]
59
                            <li id="imagenumber-[% image.imagenumber | html %]" data-itemnumber="[% image.itemnumber %]" data-biblionumber="[% image.biblionumber %]" class="thumbnail">
59
                            <li id="imagenumber-[% image.imagenumber | html %]" data-itemnumber="[% image.itemnumber | html %]" data-biblionumber="[% image.biblionumber | html %]" class="thumbnail">
60
                            <a class="show_cover" data-coverimg="[% image.imagenumber | html %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber | html %]&amp;imagenumber=[% image.imagenumber | html %]">
60
                            <a class="show_cover" data-coverimg="[% image.imagenumber | html %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber | html %]&amp;imagenumber=[% image.imagenumber | html %]">
61
                                [% IF loop.first %]
61
                                [% IF loop.first %]
62
                                    <img class="selected" id="thumbnail_[% image.imagenumber | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% image.imagenumber | html %]&amp;thumbnail=1" alt="Thumbnail" />
62
                                    <img class="selected" id="thumbnail_[% image.imagenumber | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% image.imagenumber | html %]&amp;thumbnail=1" alt="Thumbnail" />
63
- 

Return to bug 26145