From 9707ff6d099f332c616db0945ce6249b09d7515c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 1 Jul 2019 11:45:14 +0000 Subject: [PATCH] Bug 13597: Make staff client amazon no image results match opac Signed-off-by: Maryse Simard --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 6a182c1..c8af35f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -390,8 +390,8 @@ [% ELSIF ( !LocalCoverImages ) %] - - + + No cover image available [% END %] [% END # /IF AmazonCoverImages %] @@ -653,9 +653,9 @@ w = this.width; h = this.height; if ((w == 1) || (h == 1)) { - this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + $(this).parent().html('No cover image available'); } else if ((this.complete != null) && (!this.complete)) { - this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + $(this).parent().html('No cover image available'); } } }); -- 2.7.4