From 9f96bdcd19da4b753be260dd2c4be4dac2b13650 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 25 Mar 2021 17:58:04 +0000 Subject: [PATCH] Bug 28034: Make club enrollment tables in to DataTables To test: -Add some clubs -Go to a patron record and enroll them in some clubs but not in others. -There should be two table under the clubs tab, Clubs currently enrolled in and Clubs not enrolled in -Neither are DataTables -Apply patch -With the same patron check the clubs tab, they should be datatables now -Make sure all the controls, pagination works good Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer --- .../prog/en/modules/clubs/patron-clubs-tab.tt | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt index b77ab78a2d..ddfe228327 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt @@ -3,13 +3,13 @@ [% IF enrollments %]

Clubs currently enrolled in

- +
- [% IF CAN_user_clubs_enroll %][% END %] + [% IF CAN_user_clubs_enroll %][% END %] @@ -36,12 +36,12 @@

Clubs not enrolled in

-
Name Description Date enrolled Actions
+
- [% IF CAN_user_clubs_enroll %][% END %] + [% IF CAN_user_clubs_enroll %][% END %] @@ -63,8 +63,15 @@
Name Description Actions
[% END %] -[% IF CAN_user_clubs_enroll %]