From b03aea8f23cd2b6d2d63bd25d093c93ae53f2b95 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 8 Sep 2017 11:52:02 -0400 Subject: [PATCH] Bug 19275 - clubs table broken at the opac if public enrollment is not allowed Test Plan: 1. Create a template club and disable public enrollment 2. Create a club and add it a patron 3. login at the opac with this patron 4. Note the borked clubs table 5. Apply this patch 6. Refresh the page 7. Table is fixed! --- koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 df0e297..fbdf4cd 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 @@ -20,13 +20,13 @@ [% e.club.name %] [% e.club.description %] [% e.date_enrolled | $KohaDates %] - [% IF e.club.club_template.is_enrollable_from_opac %] - + + [% IF e.club.club_template.is_enrollable_from_opac %] - - [% END %] + [% END %] + [% END %] -- 2.10.2