[Koha-bugs] [Bug 31446] Make it easier for libraries to hide lightbox_descriptions from OPAC lightbox gallery

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 30 06:43:01 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31446

--- Comment #4 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 139971
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139971&action=edit
Bug 31446: Add IDs to parent elements of cover images

Having ID attributes for all parent div tags of OPAC lightbox cover images
would
make it easier for libraries to hide the lightbox descriptions hint text
displaying under cover images.

Libraries could simply add some JavaScript (in a format like below) to their
OpacUserJS system preference for each image content source they use:
$("#coce-coverimg > .hint").hide();

Test plan:
1. Apply patch
2. Confirm all parent div elements of cover images now have an ID in
opac-detail.tt

Sponsored-by: Toi Ohomai Institute of Technology, New Zealand

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list