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

--- Comment #1 from Owen Leonard <oleon...@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.
_______________________________________________
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