The link is disabled but it's possible to click and access the page anyway. https://snipboard.io/eqHYBu.jpg
Created attachment 99664 [details] [review] Bug 24736: Disable "Enrollments" link if nobody enrolled to the club yet The link is disabled but it's possible to click and access the page anyway. Test plan: - Create a new club template - Create a new club - Click the Actions > Enrollments link => Without this patch you can access the page => With this patch applied you cannot, and a tooltip explains why (feel free to suggest another wording) - Add a new patron to this club (from /cgi-bin/koha/opac-user.pl#opac-user-clubs) - Notice that the action link is not enabled and click takes you to the list of enrollments
Created attachment 99672 [details] [review] Bug 24736: Disable "Enrollments" link if nobody enrolled to the club yet The link is disabled but it's possible to click and access the page anyway. Test plan: - Create a new club template - Create a new club - Click the Actions > Enrollments link => Without this patch you can access the page => With this patch applied you cannot, and a tooltip explains why (feel free to suggest another wording) - Add a new patron to this club (from /cgi-bin/koha/opac-user.pl#opac-user-clubs) - Notice that the Enrollment action link in the staff interface is now enabled and clicking on it takes you to the list of enrollments Signed-off-by: David Nind <david@davidnind.com>
Created attachment 99809 [details] [review] Bug 24736: Disable "Enrollments" link if nobody enrolled to the club yet The link is disabled but it's possible to click and access the page anyway. Test plan: - Create a new club template - Create a new club - Click the Actions > Enrollments link => Without this patch you can access the page => With this patch applied you cannot, and a tooltip explains why (feel free to suggest another wording) - Add a new patron to this club (from /cgi-bin/koha/opac-user.pl#opac-user-clubs) - Notice that the action link is not enabled and click takes you to the list of enrollments Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 99810 [details] [review] Bzg 24736: (QA follow-up) Change tooltip wording Suggesting a change of the tooltip wording to read: There are no enrollments for this club yet
Nice work everyone! Pushed to master for 20.05
backported to 19.11.x branch for 19.11.05