[% USE Koha %] [% USE KohaDates %] [% SET PRIVATE = 1 %] [% SET PUBLIC = 2 %] [% INCLUDE 'doc-head-open.inc' %] Koha › [% IF op == 'view' %]Lists › Contents of [% shelf.shelfname | html %][% ELSE %]Lists[% END %][% IF op == 'add_form' %] › Create new list[% END %][% IF op == 'edit_form' %] › Edit list [% shelf.shelfname | html %][% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] [% IF print %] [% END %] [% IF op == 'view' %] [% END %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'virtualshelves-toolbar.inc' %]
[% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'error_on_update' %] An error occurred when updating this list. Perhaps the value already exists. [% CASE 'error_on_insert' %] An error occurred when inserting this list. Perhaps the name already exists. [% CASE 'error_on_delete' %] An error occurred when deleting this list. Check the logs. [% CASE 'error_on_add_biblio' %] The item has not been added to the list. Please check it's not in this list yet. [% CASE 'success_on_update' %] List updated with success. [% CASE 'success_on_insert' %] List inserted with success. [% CASE 'success_on_delete' %] List deleted with success. [% 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 '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_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 biblio to this list. [% CASE 'no_biblio_removed' %] No biblio has been removed. [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] An error occurred when inserting this list. The name already [% shelfname %] exists. [% CASE 'DBIx::Class::Exception' %] [% m.msg %] [% CASE %] [% m.code %] [% END %]
[% END %] [% IF op == 'view' %]
[% IF itemsloop %]

Contents of [% shelf.shelfname | html %]

[% pagination_bar %]
[% IF direction == 'asc' %] [% SET new_direction = 'desc' %] [% ELSE %] [% SET direction = 'desc' %] [% SET new_direction = 'asc' %] [% END %]
[% IF itemsloop %]
| |   [% IF CAN_user_reserveforothers && Koha.Preference('DisplayMultiPlaceHold') %]
[% END %] [% IF can_remove_biblios %]
[% END %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
[% END %]
[% END %]
[% IF ( itemsloop ) %][% END %] [% UNLESS ( item_level_itypes ) %][% END %] [% FOREACH itemsloo IN itemsloop %] [% UNLESS ( loop.odd ) %] [% ELSE %] [% END %] [% IF itemsloop %] [% END %] [% UNLESS ( item_level_itypes ) %][% END %] [% END %]
 Item type Title [% IF sortfield == 'title' %] [% direction %] sort [% ELSE %] [% END %] Author [% IF sortfield == 'author' %] [% direction %] sort [% ELSE %] [% END %] Date added Call number [% IF sortfield == 'itemcallnumber' %] [% direction %] sort [% ELSE %] [% END %]
[% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %][% itemsloo.description %][% END %][% itemsloo.description %] [% IF ( itemsloo.XSLTBloc ) %] [% itemsloo.XSLTBloc %] [% ELSE %] [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %] [% itemsloo.title |html %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield %][% END %] [% END %]

[% IF ( itemsloo.notforloan ) %] No holds allowed [% ELSE %] [% IF ( itemsloo.ITEM_RESULTS.size ) %] Holds [% IF ( holdfor ) %] | Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])[% END %] [% ELSE %] No holds allowed [% END %] [% END %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] | Edit record [% END %] [% IF ( CAN_user_editcatalogue_edit_items ) %] | Edit items [% END %]

[% itemsloo.author %] [% itemsloo.dateadded | $KohaDates%]
    [% FOREACH result IN itemsloo.ITEM_RESULTS %]
  • [% result.holdingbranch %] [% IF ( result.location_intranet ) %] ([% result.location_intranet %]) [% END %] [% IF ( result.itemcallnumber ) %] [[% result.itemcallnumber %]] [% END %]
  • [% END %]
[% pagination_bar %]
[% END %]
[% END %] [% IF can_add_biblios %]
Add an item to [% shelfname | html %]
[% END %] [% IF op == 'add_form' OR op == 'edit_form' %]
[% IF op == 'add_form' %] Create a new list [% ELSE %] Edit list [% shelf.shelfname | html %] [% END %]
  1. Required
  2. Owner: [% IF op == 'add_form' %] [% loggedinusername %]
  3. [% ELSE %] [% IF owner %] [% owner.firstname _ ' ' _ owner.surname %] [% ELSE %] [% loggedinusername %] [% END %] [% END %]
  4. [% FOR permission IN ['allow_add', 'allow_delete_own', 'allow_delete_other'] %]
  5. [% IF loop.first %] [% ELSE %] [% END %] [% SWITCH permission %] [% CASE 'allow_add' %] anyone else to add entries. [% CASE 'allow_delete_own' %] anyone to remove his own contributed entries. [% CASE 'allow_delete_other' %] anyone to remove other contributed entries. [% END %]
  6. [% END %]
[% IF referer == 'view' %] Cancel [% ELSE %] [% IF category == PUBLIC %] Cancel [% ELSE %] Cancel [% END %] [% END %]
  • Private list: Is managed by you and can be seen only by you.
  • Public list: Can be seen by everybody, but managed only by you.
[% END %] [% IF op == 'list' %]

Lists

Type List name Contents Owner Sort by Creation date Modification date Actions
[% END %]
[% IF ( allowaddingitem ) %]
Add an item
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]