Bugzilla – Attachment 67077 Details for
Bug 19216
Patron clubs table has an empty column in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19216: Fix broken table in OPAC for when club doesn't allow public enrolment
Bug-19216-Fix-broken-table-in-OPAC-for-when-club-d.patch (text/plain), 2.27 KB, created by
Claire Gravely
on 2017-09-12 08:53:13 UTC
(
hide
)
Description:
Bug 19216: Fix broken table in OPAC for when club doesn't allow public enrolment
Filename:
MIME Type:
Creator:
Claire Gravely
Created:
2017-09-12 08:53:13 UTC
Size:
2.27 KB
patch
obsolete
>From 14af23062328e93b4e70a4a380cd9c7f4ef0574a Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >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 <claire.gravely@bsz-bw.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt | 10 ++++++---- > 1 file changed, 6 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..0b8fcaa 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,15 @@ > <td>[% e.club.name %]</td> > <td>[% e.club.description %]</td> > <td>[% e.date_enrolled | $KohaDates %]</td> >- [% IF e.club.club_template.is_enrollable_from_opac %] >- <td> >+ <td> >+ [% IF e.club.club_template.is_enrollable_from_opac %] > <button class="btn btn-xs btn-default" onclick="cancelEnrollment( [% e.id %] )"> > <i class="icon-remove"></i> Cancel enrollment > </button> >- </td> >- [% END %] >+ [% ELSE %] >+ Contact your library to be disenrolled from this club. >+ [% END %] >+ </td> > </tr> > [% END %] > </tbody> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19216
:
66663
|
67077
|
68666