[% USE raw %]
[% USE Asset %]
[% USE KohaDates %]
[% USE Branches %]
[% USE Koha %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Patron clubs
[% IF club_template %]
[% IF stored == 'updated' %]
Club template [% club_template.name | html %] was updated.
[% ELSE %]
Club template [% club_template.name | html %] was saved.
[% END %]
[% ELSIF club %]
[% IF stored == 'updated' %]
Club [% club.name | html %] was updated.
[% ELSE %]
Club [% club.name | html %] was saved.
[% END %]
[% END %]
Club templates
[% IF CAN_user_clubs_edit_templates %]
[% END %]
[% IF club_templates.count %]
Name |
Description |
Public enrollment |
Email required |
Library |
Actions |
[% FOREACH t IN club_templates %]
[% t.name | html %] |
[% t.description | html %] |
[% IF t.is_enrollable_from_opac %]
Yes
[% ELSE %]
No
[% END %]
|
[% IF t.is_email_required %]
Yes
[% ELSE %]
No
[% END %]
|
[% Branches.GetName( t.branchcode ) | html %] |
[% 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.count %]
[% INCLUDE 'clubs-table.inc' %]
[% ELSE %]
[% IF club_templates.count %]
No clubs defined.
[% ELSE %]
No clubs defined. A club template must be defined before a club can be defined.
[% END %]
[% END %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'datatables.inc' %]
[% Asset.js("js/tools-menu.js") | $raw %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]