Bugzilla – Attachment 91140 Details for
Bug 13597
Amazon 'no image' element needs a 'no-image' class, in the staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13597: Make staff client amazon no image results match opac
Bug-13597-Make-staff-client-amazon-no-image-result.patch (text/plain), 2.78 KB, created by
Nick Clemens (kidclamp)
on 2019-07-01 11:48:16 UTC
(
hide
)
Description:
Bug 13597: Make staff client amazon no image results match opac
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-07-01 11:48:16 UTC
Size:
2.78 KB
patch
obsolete
>From 63b9a91e5c7ffda944137331d6edb67bac2474db Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 1 Jul 2019 11:45:14 +0000 >Subject: [PATCH] Bug 13597: Make staff client amazon no image results match > opac > >--- > 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 626b23823d..10d0f60ed8 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 @@ > <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> > <img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" /> > [% ELSIF ( !LocalCoverImages ) %] >- <a class="p1 no-amazon-cover" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> >- <img src="https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" /> >+ <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> >+ <span class="no-image">No cover image available</span> > [% END %] > </a> > [% 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('<span class="no-image">No cover image available</span>'); > } 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('<span class="no-image">No cover image available</span>'); > } > } > }); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13597
:
35396
|
50487
|
50488
|
50497
|
91140
|
91367
|
91398