From 5c45b2d69bcb17fbadc5e9794e70c5ccc4cfcc0a 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! Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- .../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 df0e29738f..fbdf4cdd13 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.20.1