Patron clubs
[% IF club_template %]
[% IF stored == 'updated' %]
Club template [% club_template.name %] was updated.
[% ELSE %]
Club template [% club_template.name %] was saved.
[% END %]
[% ELSIF club %]
[% IF stored == 'updated' %]
Club [% club.name %] was updated.
[% ELSE %]
Club [% club.name %] was saved.
[% END %]
[% END %]
Club templates
[% IF CAN_user_clubs_edit_templates %]
[% END %]
[% IF club_templates %]
Name |
Description |
Public enrollment |
Email required |
Library |
Actions |
[% FOREACH t IN club_templates %]
[% t.name %] |
[% t.description %] |
[% IF t.is_enrollable_from_opac %]
Yes
[% ELSE %]
No
[% END %]
|
[% IF t.is_email_required %]
Yes
[% ELSE %]
No
[% END %]
|
[% Branches.GetName( t.branchcode ) %] |
[% IF CAN_user_clubs_edit_templates %]
Edit
Delete
[% END %]
|
[% END %]
[% ELSE %]
No club templates defined.
[% END %]
Clubs
[% IF CAN_user_clubs_edit_clubs %]
[% END %]
[% IF clubs %]
Name |
Template |
Description |
Public enrollment |
Email required |
Library |
Start date |
End date |
Enrolled patrons |
|
[% FOREACH c IN clubs %]
[% c.name %] |
[% c.club_template.name %] |
[% c.description %] |
[% IF c.club_template.is_enrollable_from_opac %]
Yes
[% ELSE %]
No
[% END %]
|
[% IF c.club_template.is_email_required %]
Yes
[% ELSE %]
No
[% END %]
|
[% Branches.GetName( c.branchcode ) %] |
[% IF c.date_start %]
[% c.date_start | $KohaDates %]
[% END %]
|
[% IF c.date_end %]
[% c.date_end | $KohaDates %]
[% END %]
|
[% c.club_enrollments.count %]
|
|
[% END %]
[% ELSE %]
[% IF club_templates %]
No clubs defined.
[% ELSE %]
No clubs defined. A club template must be defined before a club can be defined.
[% END %]
[% END %]