[% USE Asset %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Administration › Libraries
[% IF op == 'add_form' %]
›[% IF library %]Modify library[% ELSE %]New library [% library.branchcode | html %][% END %]
[% ELSIF op == 'delete_confirm' %]
› Confirm deletion of library '[% library.branchcode | html %]'
[% END %]
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
Home
› Administration
› Libraries
[% IF op == 'add_form' %]
› [% IF library %]Modify library[% ELSE %]New library [% library.branchcode | html %][% END %]
[% ELSIF op == 'delete_confirm' %]
› Confirm deletion of library '[% library.branchcode | html %]'
[% END %]
[% FOREACH m IN messages %]
[% 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 %] patrons and [% m.data.items_count %] items).
[% ELSIF m.data.patrons_count %]
([% m.data.patrons_count %] patrons).
[% ELSIF m.data.items_count %]
([% m.data.items_count %] 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 %] libraries are still using it.
[% CASE %]
[% m.code %]
[% END %]