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

Martin Renvoize (ashimema) <martin.renvo...@ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #174401|0                           |1
        is obsolete|                            |

--- Comment #2 from Martin Renvoize (ashimema) 
<martin.renvo...@ptfs-europe.com> ---
Created attachment 175412
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175412&action=edit
Bug 38422: Allow plugin cover images in OPAC lists

This patch updates the template to allow cover images from plugins in the OPAC
list page. It adds a data-isbn and data-title attribute to the cover images
element and also moves the element below the setting of the title so that we
can pass that directly.

It also adds the script call to allow the plugin method to work on the page

Test plan:
1) View the patch diff and note that the data attributes have been added
correctly
2) View the patch diff and note that the <a> tag has been moved below the
setting of the img_title template variable
3) View the patch diff and note that the CoverImagePlugins variable has been
set correctly (compare to the intranet file detail.tt for reference if needed)
4) Confirm that no changes have been made to any elements beyond adding the
data attributes

Signed-off-by: Martin Renvoize <martin.renvo...@ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to