From d25719d22312f300cde397e3a6d44ce496e998a1 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 31 Aug 2017 00:16:17 +0000 Subject: [PATCH] Bug 19216: Fix broken table in OPAC for when club doesn't allow public enrolment To test: 1) Apply bug 19214 and bug 19215 to fix other issues with patron clubs 2) Create a club template that DOES NOT allow public enrollment 3) Create a club, enrol a user 4) Log in as that user to the OPAC 5) Go to 'your summary' and click the Clubs tab 6) Notice the broken table with empty column 7) Edit the club template to allow public enrollment 8) Notice the table is fixed - so this bug is just when the club does not allow public enrollment 9) Apply the patch 10) Edit the club template to NOT ALLOW public enrollment 11) Confirm the table in the OPAC is now fixed and does not leave an empty column Sponsored-by: Catalyst IT Signed-off-by: Claire Gravely Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt index fbdf4cdd13..0b8fcaaaec 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt @@ -25,6 +25,8 @@ + [% ELSE %] + Contact your library to be disenrolled from this club. [% END %] -- 2.39.5