https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42097 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #195346|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 195363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195363&action=edit Bug 42097: Add link to create new club from list of club templates This patch adds a "New club" button to the list of club templates. This makes it easy to create a new club using any of the templates in the list. To test, apply the patch and go to Tools -> Patron clubs. - Create a club template if necessary. - On the patron clubs main page, in the list of club templates, there should be an "Actions" menu in the last table cell. - Now alongside "Edit" and "Delete" you should see "New club" - Choosing "New club" should take you to the new club form with the heading "Create a new [you template name] club" - The permissions around the "Edit" and "Delete" controls haven't changed, but the "New club" control depends on the user having CAN_user_clubs_edit_clubs permission. - Test as a user without CAN_user_clubs_edit_clubs permission to confirm that the "New club" control is omitted. - Test as a user with only CAN_user_clubs_edit_clubs permission to confirm that the edit and delete buttons are missing. - Test as a user with only CAN_user_clubs_enroll permission. There should be no actions column in the table of club templates. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.