Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard 429c57d8d6
Bug 25007: (follow-up) Fix the way image check alters layout
A question in the bug report asks: Why is is necessary to change the
Bootstrap class to col-xs-12? The JavaScript which checks for the
existence of an Amazon cover image is designed to remove the Amazon
cover's container if there is none. Changing the class of
cover image column is gone.

However, the check is incorrect because it doesn't account for Local
Covers. There might be both a 1 x 1 pixel Amazon image and a local cover
image, so the layout shouldn't be changed unless there are no images
present.

To test, apply the patch and view the bibliographic details page of
various titles including:
- Amazon cover present, no local cover
- No Amazon cover, local cover image present
- Both Amazon and local cover image

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-16 19:24:21 +01:00
..
data Bug 24312: Update MARC21 frameworks to Updates 28+29 (May and November 2019) 2020-01-07 15:10:45 +00:00
includes Bug 22468: Standardize on labelling ccode table columns as Collections 2020-04-15 12:32:49 +01:00
modules Bug 25007: (follow-up) Fix the way image check alters layout 2020-04-16 19:24:21 +01:00
xslt Bug 17938: Fix display of label for repeated MARC 583 - Action note fields 2020-04-03 14:28:59 +01:00
columns.def