Bug 13597: Make staff client Amazon no image results match OPAC
authorNick Clemens <nick@bywatersolutions.com>
Mon, 1 Jul 2019 11:45:14 +0000 (11:45 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 30 Jul 2019 07:42:13 +0000 (09:42 +0200)
commit37c68ad1bc92109ebebacb0523cec1cda1b65bdf
treecfc445639e4da469b9e15fcd88032e144b362fd8
parent8b9c96308fe063b28123e6081472788f88b9f4e8
Bug 13597: Make staff client Amazon no image results match OPAC

The point is to make staff client HTML for missing Amazon cover
images more equivalent to that of the OPAC

To test:
1 - Enable Amazon images everywhere
2 - Search on the staff and OPAC to get some results without
    Amazon covers (missing ISBNs and bad ISBNs)
3 - Note OPAC missing images are like:
<span class="no-image">No cover image available</span>
4 - Note staff client are like:
<img src="https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" />
5 - The staff links do not lend themselves to easy CSS hiding/styling
6 - Apply patch
7 - Repeat
8 - Note increased consistency

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit fcc22df8ff277ac7041d5eb72e83821fb1ef1f37)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt