- [% IF ( bibitemloo.holdable ) %]
-
-
-
-
-
- Place a hold on
-
- [% END # / bibitemloo.holdable %]
+ [% FOREACH bibitemloo IN bibitemloop %]
+
+
+ [% IF ( bibitemloo.holdable ) %]
+
+
+
+
+
+ Place a hold on
+
+ [% END # / bibitemloo.holdable %]
-
- [% bibitemloo.title | html %]
- [% IF ( bibitemloo.subtitle ) %]
- [% FOREACH subtitl IN bibitemloo.subtitle %]
- [% subtitl.subfield | html %]
- [% END %]
- [% END %]
-
- [% IF ( bibitemloo.author ) %], by [% bibitemloo.author | html %][% END %]
-
-
- [% UNLESS ( bibitemloo.holdable ) %]
- [% IF ( bibitemloo.ageRestricted ) %]
-
Sorry, you are too young to reserve this material.
+
+ [% bibitemloo.title | html %]
+ [% IF ( bibitemloo.subtitle ) %]
+ [% FOREACH subtitl IN bibitemloo.subtitle %]
+ [% subtitl.subfield | html %]
[% END %]
- [% IF ( bibitemloo.already_reserved ) %]
- You have already requested this title.
+ [% END %]
+
+ [% IF ( bibitemloo.author ) %], by [% bibitemloo.author | html %][% END %]
+
+
+ [% UNLESS ( bibitemloo.holdable ) %]
+ [% IF ( bibitemloo.ageRestricted ) %]
+
Sorry, you are too young to reserve this material.
+ [% END %]
+ [% IF ( bibitemloo.already_reserved ) %]
+
You have already requested this title.
+ [% ELSE %]
+ [% UNLESS ( bibitemloo.bib_available ) %]
+
There are no items that can be placed on hold.
+ [% ELSE %]
+ [% IF ( bibitemloo.already_patron_possession ) %]
+
This title cannot be requested because it's already in your possession.
[% ELSE %]
- [% UNLESS ( bibitemloo.bib_available ) %]
-
There are no items that can be placed on hold.
- [% ELSE %]
- [% IF ( bibitemloo.already_patron_possession ) %]
-
This title cannot be requested because it's already in your possession.
- [% ELSE %]
-
This title cannot be requested.
- [% END %]
- [% END # / UNLESS bibitemloo.bib_available %]
- [% END # / IF bibitemloo.already_reserved %]
- [% END # / UNLESS bibitemloo.holdable %]
+
This title cannot be requested.
+ [% END %]
+ [% END # / UNLESS bibitemloo.bib_available %]
+ [% END # / IF bibitemloo.already_reserved %]
+ [% END # / UNLESS bibitemloo.holdable %]
- [% IF ( bibitemloo.holdable ) %]
-
-
-
- [% UNLESS ( item_level_itypes ) %]
-
- Item type:
- [% IF ( bibitemloo.imageurl ) %] [% END %]
- [% bibitemloo.translated_description | html %]
-
- [% END %]
+ [% IF ( bibitemloo.holdable ) %]
+
+
+
+ [% UNLESS ( item_level_itypes ) %]
+
+ Item type:
+ [% IF ( bibitemloo.imageurl ) %] [% END %]
+ [% bibitemloo.translated_description | html %]
+
+ [% END %]
- [% SET OPACShowHoldQueueDetails = Koha.Preference('OPACShowHoldQueueDetails') %]
- [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'priority' %]
-
- Your priority:
- [% bibitemloo.rank | html %]
-
- [% END %]
+ [% SET OPACShowHoldQueueDetails = Koha.Preference('OPACShowHoldQueueDetails') %]
+ [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'priority' %]
+
+ Your priority:
+ [% bibitemloo.rank | html %]
+
+ [% END %]
- [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'holds' %]
-
- Number of holds:
- [% bibitemloo.reservecount | html %]
-
- [% END %]
+ [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'holds' %]
+
+ Number of holds:
+ [% bibitemloo.reservecount | html %]
+
+ [% END %]
- [% UNLESS ( singleBranchMode ) %]
- [% IF ( bibitemloo.holdable && Koha.Preference('OPACAllowUserToChooseBranch')) %]
-
- Pick up location:
- [% UNLESS ( bibitemloo.holdable ) %]
-
- [% PROCESS options_for_libraries libraries => Branches.pickup_locations({ search_params => { biblio => bibitemloo.biblionumber }, selected => branch }) %]
-
- [% ELSE %]
- [% SET at_least_one_library_not_available_for_pickup = 0 %]
-
- [% FOREACH library IN Branches.all({ search_params => { pickup_location => 1 }, selected => branch }) %]
- [% SET pickup_available_at = bibitemloo.not_available_at.grep(library.branchcode).size ? 0 : 1 %]
- [% IF library.selected AND pickup_available_at %]
- [% library.branchname | html %]
- [% ELSIF pickup_available_at %]
- [% library.branchname | html %]
- [% ELSE %]
- [% SET at_least_one_library_not_available_for_pickup = 1 %]
- [% library.branchname | html %]
- [% END %]
- [% END %]
-
- [% IF at_least_one_library_not_available_for_pickup %]
- Note: Library policy does not allow hold/pickup of an item available locally. Please come to the library to retrieve these items
+ [% UNLESS ( singleBranchMode ) %]
+ [% IF ( bibitemloo.holdable && Koha.Preference('OPACAllowUserToChooseBranch')) %]
+
+ Pick up location:
+ [% UNLESS ( bibitemloo.holdable ) %]
+
+ [% PROCESS options_for_libraries libraries => Branches.pickup_locations({ search_params => { biblio => bibitemloo.biblionumber }, selected => branch }) %]
+
+ [% ELSE %]
+ [% SET at_least_one_library_not_available_for_pickup = 0 %]
+
+ [% FOREACH library IN Branches.all({ search_params => { pickup_location => 1 }, selected => branch }) %]
+ [% SET pickup_available_at = bibitemloo.not_available_at.grep(library.branchcode).size ? 0 : 1 %]
+ [% IF library.selected AND pickup_available_at %]
+ [% library.branchname | html %]
+ [% ELSIF pickup_available_at %]
+ [% library.branchname | html %]
+ [% ELSE %]
+ [% SET at_least_one_library_not_available_for_pickup = 1 %]
+ [% library.branchname | html %]
[% END %]
- [% END # / UNLESS bibitemloo.holdable %]
-
- [% END # / IF bibitemloo.holdable && Koha.Preference('OPACAllowUserToChooseBranch') %]
- [% END # / UNLESS singleBranchMode %]
-
+ [% END %]
+
+ [% IF at_least_one_library_not_available_for_pickup %]
+ Note: Library policy does not allow hold/pickup of an item available locally. Please come to the library to retrieve these items
+ [% END %]
+ [% END # / UNLESS bibitemloo.holdable %]
+
+ [% END # / IF bibitemloo.holdable && Koha.Preference('OPACAllowUserToChooseBranch') %]
+ [% END # / UNLESS singleBranchMode %]
+
- Show more options
+ Show more options
-
+
-
- [% IF ( reserve_in_future ) %]
-
- Hold starts on date:
-
- [% INCLUDE 'date-format.inc' %]
-
- [% END %]
+
- [% IF ( OpacHoldNotes ) %]
-
-
-
Hold notes:
- [% IF bibitemloo.reqholdnotes %]
-
Please enter additional information about the requested item:
+ [% IF bibitemloo.itemholdable %]
+
- [% END # / IF ( bibitemloo.itemholdable )%]
-
-
- [% END # / IF ( bibitemloo.holdable ) %]
-
- [% END # / FOREACH bibitemloo IN bibitemloop %]
-
-
- [% UNLESS ( none_available ) %]
-
- [% END %]
-
-
- [% END # / UNLESS message %]
-