[% SWITCH m.code %]
[% CASE 'add_success' %]
Type added
[% CASE 'update_success' %]
Type updated
[% CASE 'duplicate_display_text' %]
Another restriction already has this label
[% CASE 'duplicate_code' %]
Another restriction already has this code
[% CASE 'delete_success' %]
Type deleted
[% CASE 'delete_default' %]
Cannot delete the default type
[% CASE 'delete_system' %]
Cannot delete a system type
[% CASE %]
[% m.code | html %]
[% END %]
[% END %]
[% IF op == 'add_form' %]
[% END %]
[% IF op == 'delete_confirm' %]
[% END %]
[% IF op == 'list' %]
Patron restrictions
[% IF searchfield %] You Searched for [% searchfield | html %] [% END %] [% IF restrictions %]Code | Label | Default | Actions |
---|---|---|---|
[% restriction.code | html %] | [% PROCESS restriction_type_description %] | [% IF restriction.is_default %]Yes[% END %] | Edit [% IF !restriction.is_system && !restriction.is_default %] Delete [% END %] [% IF !restriction.is_system && !restriction.is_default %] Make default [% END %] |
No restrictions have been defined. Create a new restriction.
[% END %]
[% END %]