[Koha-bugs] [Bug 34945] Remove the use of event attributes from OPAC clubs tab

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 28 13:56:54 CEST 2023


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 156324
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156324&action=edit
Bug 34945: Remove the use of event attributes from OPAC clubs tab

This patch removes the use of event attributes (onclick) from the
template for the clubs tab shown in the OPAC to a logged-in user.
These events are defined now along with the other in-page JS.

The patch also makes some general improvements to the template for
consistency:

- Adding Bootstrap color classes to the "Enroll" and "Cancel enrollment"
  buttons.
- Enhancing the responsive configuration to the DataTable.

To test you should have a few patron clubs defined (Tools -> Patron
clubs).

- Apply the patch and log in to the OPAC.
- On the user summary page, click the "Clubs" tab.
- Test the "Enroll" and "Cancel enrollment" buttons to confirm that look
  correct and work as expected.
- Test the responsive behavior of the page to confirm that it adjusts
  well to narrow browser widths.

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


More information about the Koha-bugs mailing list