[% SWITCH m.code %]
[% CASE 'error_on_update' %]
An error occurred when updating this list.
[% CASE 'error_on_insert' %]
An error occurred when creating this list.
[% CASE 'error_on_delete' %]
An error occurred when deleting this list.
[% CASE 'error_on_add_biblio' %]
[% IF m.item_barcode %]
The item ([% m.item_barcode | html %]) has not been added to the list. Please verify it is not already in the list.
[% ELSE %]
The record ([% m.bibnum | html %]) has not been added to the list. Please verify it is not already in the list.
[% END %]
[% CASE 'success_on_update' %]
List updated.
[% CASE 'success_on_insert' %]
List created.
[% CASE 'success_on_delete' %]
List deleted.
[% CASE 'success_on_add_biblio' %]
[% IF m.item_barcode %]
The item ([% m.item_barcode | html %]) has been added to the list.
[% ELSE %]
The record ([% m.bibnum | html %]) has been added to the list.
[% END %]
[% CASE 'success_on_remove_biblios' %]
The item has been removed from the list.
[% CASE 'does_not_exist' %]
This list does not exist.
[% CASE 'item_does_not_exist' %]
[% IF m.item_barcode %]
The item ([% m.item_barcode | html %]) does not exist.
[% ELSE %]
The record ([% m.bibnum | html %]) does not exist.
[% END %]
[% CASE 'unauthorized_on_view' %]
You do not have permission to view this list.
[% CASE 'unauthorized_on_update' %]
You do not have permission to update this list.
[% CASE 'unauthorized_on_delete' %]
You do not have permission to delete this list.
[% CASE 'unauthorized_on_add_biblio' %]
You do not have permission to add a record to this list.
[% CASE 'unauthorized_transfer' %]
You do not have permission to transfer ownership of this list.
[% CASE 'new_owner_not_found' %]
The new owner could not be found anymore.
[% CASE 'no_biblio_removed' %]
No record was removed.
[% CASE 'Koha::Exceptions::Virtualshelf::DuplicateObject' %]
An error occurred when creating this list. The name [% shelfname | html %] already exists.
[% CASE 'Koha::Exceptions::Virtualshelf::UseDbAdminAccount' %]
List could not be created. (Do not use the database administrator account.)
[% CASE 'DBIx::Class::Exception' %]
[% m.msg | html %]
[% CASE %]
[% m.code | html %] [% m.msg | html %]
[% END # /SWITCH %]
[% END # /FOR m IN messages %]
[% IF op == 'transfer' %]
Transfer ownership of public list [% shelf.shelfname | html %]
[% END # /IF op == transfer %] [% IF op == 'view' %]Contents of [% shelf.shelfname | html %]
[% IF itemsloop %] [% SET contents = shelf.get_contents %] [% IF ( contents.count ) %]This list contains [% contents.count | html %] titles
[% END %][% pagination_bar | $raw %]
[% END # /IF itemsloop %]
[% END # /IF op == 'view' %]
[% IF op == 'add_form' OR op == 'edit_form' %]
[% END # /IF op == 'add_form'... %]
[% IF op == 'list' %]
Lists
[% WRAPPER tabs id= "tabs" %] [% WRAPPER tabs_nav %] [% WRAPPER tab_item tabname= "privateshelves_tab" bt_active= 1 %] Your lists [% END %] [% WRAPPER tab_item tabname= "publicshelves_tab" %] Public lists [% END %] [% END # /WRAPPER tabs_nav %] [% WRAPPER tab_panels %] [% WRAPPER tab_panel tabname="shelves_tab" bt_active= 1 %]Type | List name | Contents | Type | Owner | Sort by | Creation date | Modification date | Actions |
---|---|---|---|---|---|---|---|---|
[%- block.content | $raw -%]
[%- END -%]
[% END # /IF op == 'list' %]