diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 7b8444dfed..7b703891ab 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -200,6 +200,10 @@ th { padding : .2em 23px; } +#editions table, #editions td { + border : 0; +} + tr.highlight td, td.highlight { background-color : #F3F3F3; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl index 4855d97c7d..32d98a43de 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -4,7 +4,7 @@ //= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) { w = this.width; h = this.height; @@ -17,7 +17,18 @@ function verify_images() { } } }); + $("#editions img").each(function(i){ + if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) { + w = this.width; + h = this.height; + if ((w == 1) || (h == 1)) { + this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + } else if ((this.complete != null) && (!this.complete)) { + this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + } } + }); +} $(document).ready(function() { $('#bibliodetails > ul').tabs(); }); @@ -127,7 +138,7 @@ function verify_images() {
| /ref=sib_dp_pt/002-7879865-0184864#reader-link"> | +"> by © + + () , + + + , + | +