[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF op == 'view' %] Contents of [% shelf.shelfname | html %] › [% END %] [% IF op == 'add_form' %] Create new list › [% END %] [% IF op == 'edit_form' %] Edit list [% shelf.shelfname | html %] › [% END %] Lists › Koha [% INCLUDE 'doc-head-close.inc' %] [% BLOCK list_permissions %]
  • [% 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. [% 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 'no_biblio_removed' %] No record was removed. [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] An error occurred when creating this list. The name [% shelfname | html %] already exists. [% CASE 'Koha::Exceptions::Virtualshelves::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 == 'view' %] [% IF itemsloop %]

    Contents of [% shelf.shelfname | html %]

    [% pagination_bar | $raw %]
    [% 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 %] [% IF sortfield == 'title' %] [% IF sortfield == 'author' %] [% IF sortfield == 'dateadded' %] [% IF sortfield == 'itemcallnumber' %] [% FOREACH itemsloo IN itemsloop %] [% IF itemsloop %] [% END %] [% UNLESS ( item_level_itypes ) %][% END %] [% END %]
     Item type [% ELSE %] [% END %] Title [% ELSE %] [% END %] Author [% ELSE %] [% END %] Date added [% ELSE %] [% END %] Call number
    [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %][% itemsloo.description | html %][% END %][% itemsloo.description | html %] [% IF ( itemsloo.XSLTBloc ) %] [% itemsloo.XSLTBloc | $raw %] [% ELSE %] [% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %] [% END %]

    [% IF ( itemsloo.notforloan ) %] No holds allowed [% ELSE %] [% IF ( itemsloo.ITEM_RESULTS.size ) %] Holds [% IF ( holdfor ) %] | Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])[% 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 | html %] [% itemsloo.dateadded | $KohaDates%]
      [% FOREACH result IN itemsloo.ITEM_RESULTS %]
    • [% result.holdingbranch | html %] [% IF ( result.location_intranet ) %][% result.location_intranet | html %][% END %] [% IF ( result.itemcallnumber ) %] [[% result.itemcallnumber | html %]] [% END %]
    • [% END %]
    [% pagination_bar | $raw %]
    [% END %] [% 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' %] [% logged_in_user.userid | html %] [% ELSE %] [% IF owner %] [% owner.firstname _ ' ' _ owner.surname | html %] [% ELSE %] [% logged_in_user.userid | html %] [% END %] [% END %]
    3. [% INCLUDE list_permissions %]
    [% IF referer == 'view' %] Cancel [% ELSE %] [% IF public %] Cancel [% ELSE %] Cancel [% END %] [% END %]
    [% END %] [% IF op == 'list' %]

    Lists

    Type List name Contents Type Owner Sort by Creation date Modification date Actions
    [% END %]
    [% IF ( can_add_biblios ) %] [% END %] [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] [% IF print %] [% END %] [% IF op == 'view' %] [% Asset.js("lib/hc-sticky.js") | $raw %] [% END %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]