-
-
+
[% IF ( can_add_biblios ) %]
@@ -503,22 +556,22 @@
+
+
+
+
+
+
- [% IF op != 'transfer' %][% INCLUDE 'virtualshelves-toolbar.inc' %][% END %]
+ [% IF op != 'transfer' %][% INCLUDE 'virtualshelves-toolbar.inc' %][% END %]
-[% FOR m IN messages %]
-
-
-
-
+
[% END %]
- [% END %]
-
-
-[% END %]
+ [% IF op == 'list' %]
+
+
+
-
-
-
-
-
-
-
- [% 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 %]
-
-[% END %]
-
-[% IF op == 'transfer' %]
- Transfer ownership of public list [% shelf.shelfname | html %]
- - -[% END %] - -[% IF op == 'view' %] -Contents of [% shelf.shelfname | html %]
- [% IF itemsloop %] -[% pagination_bar | $raw %]
-
-
- [% END %]
-[% END %]
-
-[% IF op == 'add_form' OR op == 'edit_form' %]
-
- Lists
+
+
-[% END %]
+ -
+
- + Your lists + +
- + Public lists + +
Lists
-
-
+ [% END %]
- -
-
- Your lists -
- Public lists -
+
+
+
+
+ | Type | +List name | +Contents | +Type | +Owner | +Sort by | +Creation date | +Modification date | +Actions | +
|---|---|---|---|---|---|---|---|---|
| + | + | + | + | + | + + | ++ | + | + |
-
-
-
-
- | Type | -List name | -Contents | -Type | -Owner | -Sort by | -Creation date | -Modification date | -Actions | -
|---|---|---|---|---|---|---|---|---|
| - | - | - | - | - | - - | -- | - | - |