[% IF ( OpacNav||loggedinusername ) %]
[% ELSE %]
[% END %]
[% FOR m IN messages %]
[% SWITCH m.type %]
[% CASE 'message' %]
[% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %]
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
[% Asset.js("lib/hc-sticky.js") | $raw %]
[% IF OpenLibraryCovers || OpenLibrarySearch %]
[% Asset.js("js/openlibrary.js") | $raw %]
[% END %]
[% END %]
[% CASE 'error' %]
[% ELSE %]
[% END %]
[% 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' %]
The item has not been added to the list. Please check it's not already in the list.
[% CASE 'error_on_remove_share' %]
The share has not been removed.
[% CASE 'success_on_update' %]
List updated.
[% CASE 'success_on_insert' %]
List created.
[% CASE 'success_on_delete' %]
List deleted.
[% CASE 'success_on_add_biblio' %]
The item has been added to the list.
[% CASE 'success_on_remove_biblios' %]
The item has been removed from the list.
[% CASE 'success_on_remove_share' %]
The share has been removed.
[% CASE 'does_not_exist' %]
This list does not exist.
[% CASE 'item_does_not_exist' %]
This item does not exist.
[% CASE 'unauthorized_on_view' %]
You do not have permission to view this list.
[% CASE 'unauthorized_on_insert' %]
You do not have permission to create a new 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 'no_biblio_removed' %]
No record was removed.
[% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
An error occurred when creating the list. The name [% shelfname | html %] already exists.
[% CASE 'DBIx::Class::Exception' %]
[% m.msg | html %]
[% CASE %]
[% m.code | html %]
[% m.msg | html %]
[% END %]
[% END %]
[% IF shelf AND op == 'view' %]
[% shelf.shelfname | html %]
[% IF ( itemsloop ) %] [% SET contents = shelf.get_contents %] [% IF ( contents.count ) %]This list contains [% contents.count | html %] titles
[% END %]
This list is empty.
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
You can add to your lists from the results of any search.
[% END %]
[% IF can_manage_shelf %]
[% END %]
[% END # / IF itemsloop %]
[% END # /IF shelf AND op == 'view' %]
[% IF op == 'add_form' OR op == 'edit_form' %]