[% SWITCH m.code %]
[% CASE 'error_on_update' %]
An error occurred when updating this library. Perhaps it already exists.
[% CASE 'error_on_insert' %]
An error occurred when adding this library. The branchcode might already exist.
[% CASE 'error_on_delete' %]
An error occurred when deleting this library. Check the logs.
[% CASE 'success_on_update' %]
Library updated successfully.
[% CASE 'success_on_insert' %]
Library added successfully.
[% CASE 'success_on_delete' %]
Library deleted successfully.
[% CASE 'cannot_delete_library' %]
This library cannot be deleted. Patrons or items are still using it
[% IF m.data.patrons_count and m.data.items_count %]
([% m.data.patrons_count | html %] patrons and [% m.data.items_count | html %] items).
[% ELSIF m.data.patrons_count %]
([% m.data.patrons_count | html %] patrons).
[% ELSIF m.data.items_count %]
([% m.data.items_count | html %] items).
[% END %]
[% CASE 'error_on_update_category' %]
An error occurred when updating this library category. Perhaps it already exists.
[% CASE 'error_on_insert_category' %]
An error occurred when adding this library category. The categorycode might already exist.
[% CASE 'error_on_delete_category' %]
An error occurred when deleting this library category. Check the logs.
[% CASE 'success_on_update_category' %]
Library category updated successfully.
[% CASE 'success_on_insert_category' %]
Library category added successfully.
[% CASE 'success_on_delete_category' %]
Library category deleted successfully.
[% CASE 'cannot_delete_category' %]
This library category cannot be deleted. [% m.data.libraries_count | html %] libraries are still using it.
[% CASE %]
[% m.code | html %]
[% END %]
[% END %]
[% IF op == 'list' || op == 'view' %]
[% END %]
[% IF op == 'add_form' %]
[% IF library %]Modify library[% ELSE %]New library[% END %]
[% END %] [% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]Libraries
[% IF libraries_count > 0 %]Name | Code | Address | MARC organization code | IP | Pickup location | Public | SMTP server | Actions |
---|
[% library.branchname | html %]
- Library code: [% library.branchcode | html %]
- Name: [% library.branchname | html %]
- Category: [% category.categoryname | html %]
- Address line 1: [% library.branchaddress1 | html %]
- Address line 2: [% library.branchaddress2 | html %]
- Address line 3: [% library.branchaddress3 | html %]
- City: [% library.branchcity | html %]
- State: [% library.branchstate | html %]
- ZIP/Postal code: [% library.branchzip | html %]
- Country: [% library.branchcountry | html %]
- Phone: [% library.branchphone | html %]
- Fax: [% library.branchfax | html %]
- Email: [% IF ( library.branchemail ) %] [% library.branchemail | html %] [% END %]
- ILL staff email: [% IF ( library.branchillemail ) %] [% library.branchillemail | html %] [% END %]
- Reply-To: [% IF ( library.branchreplyto ) %] [% library.branchreplyto | html %] [% END %]
- Return-Path: [% library.branchreturnpath | html %]
- SMTP server: [% smtp_server.name | html %]
- URL: [% IF ( library.branchurl ) %] [% library.branchurl | html %] [% END %]
- IP: [% library.branchip | html %]
- MARC organization code [% library.marcorgcode | html %]
- Notes: [% library.branchnotes | html %]
- Pickup location: [% IF ( library.pickup_location ) %] Yes [% ELSE %] No [% END %]
- Public: [% IF ( library.public ) %] Yes [% ELSE %] No [% END %]
OPAC information
[% library.opac_info | $raw %]This library does not exist.
[% END %]