diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index 30bbd9b882..171409eb9b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -121,334 +121,334 @@ [% ELSE # /IF message %] - [% IF ( none_available && multi_hold ) %] -
- Sorry, none of these titles can be placed on hold. -
- [% END %] + [% IF ( none_available && multi_hold ) %] +
+ Sorry, none of these titles can be placed on hold. +
+ [% END %] [% END # / IF message %] - [% UNLESS ( message ) %] - [% UNLESS ( none_available ) %] -

Confirm holds for:[% INCLUDE 'patron-title.inc' patron = logged_in_user %] ([% logged_in_user.cardnumber | html %])

- [% END # / UNLESS none_available %] + [% UNLESS ( message ) %] + [% UNLESS ( none_available ) %] +

Confirm holds for:[% INCLUDE 'patron-title.inc' patron = logged_in_user %] ([% logged_in_user.cardnumber | html %])

+ [% END # / UNLESS none_available %] - [% IF (RESERVE_CHARGE) %] -
- [% IF Koha.Preference('HoldFeeMode') == 'any_time_is_collected' %] - You will be charged a hold fee of [% RESERVE_CHARGE | $Price %] when you collect this item - [% ELSE %] - You will be charged a hold fee of [% RESERVE_CHARGE | $Price %] for placing this hold - [% END %] -
+ [% IF (RESERVE_CHARGE) %] +
+ [% IF Koha.Preference('HoldFeeMode') == 'any_time_is_collected' %] + You will be charged a hold fee of [% RESERVE_CHARGE | $Price %] when you collect this item + [% ELSE %] + You will be charged a hold fee of [% RESERVE_CHARGE | $Price %] for placing this hold [% END %] +
+ [% END %] - [% IF ( new_reserves_allowed ) %] -
- Sorry, you can only place [% new_reserves_allowed | html %] more holds. Please uncheck the checkboxes for the items you wish to not place holds on. -
- [% END %] + [% IF ( new_reserves_allowed ) %] +
+ Sorry, you can only place [% new_reserves_allowed | html %] more holds. Please uncheck the checkboxes for the items you wish to not place holds on. +
+ [% END %] -
- - - - -
+ + + + + +
- [% FOREACH bibitemloo IN bibitemloop %] -
-

- [% IF ( bibitemloo.holdable ) %] - - - - - - - - [% END # / bibitemloo.holdable %] + [% FOREACH bibitemloo IN bibitemloop %] +

+

+ [% IF ( bibitemloo.holdable ) %] + + + + + + + + [% 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')) %] -
    • - - [% UNLESS ( bibitemloo.holdable ) %] - - [% ELSE %] - [% SET at_least_one_library_not_available_for_pickup = 0 %] - - [% 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')) %] +
    • + + [% UNLESS ( bibitemloo.holdable ) %] + + [% ELSE %] + [% SET at_least_one_library_not_available_for_pickup = 0 %] + + [% 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 %] +
    - + -
    +
    -
      - [% IF ( reserve_in_future ) %] -
    • - - - [% INCLUDE 'date-format.inc' %] -
    • - [% END %] +
        + [% IF ( reserve_in_future ) %] +
      • + + + [% INCLUDE 'date-format.inc' %] +
      • + [% END %] -
      • - - - [% INCLUDE 'date-format.inc' %] -
      • +
      • + + + [% INCLUDE 'date-format.inc' %] +
      • - [% IF Koha.Preference('AllowHoldItemTypeSelection') %] - [% itemtypes = [] %] - [% FOREACH item IN bibitemloo.itemLoop %] - [% itemtypes.push( item.itype ) %] + [% IF Koha.Preference('AllowHoldItemTypeSelection') %] + [% itemtypes = [] %] + [% FOREACH item IN bibitemloo.itemLoop %] + [% itemtypes.push( item.itype ) %] + [%- END %] +
      • + + - - [% FOREACH i IN itemtypes.unique.sort %] - - [%- END %] - -
      • + + + [% END %] + + [% IF ( OpacHoldNotes ) %] +
      • +
        + + [% IF bibitemloo.reqholdnotes %] + Please enter additional information about the requested item: + [% END %] + +
        +
      • + [% END # / IF OpacHoldNotes %] + + [% IF bibitemloo.itemholdable %] + + + [% END # / IF bibitemloo.itemholdable %] +
      - [% IF ( OpacHoldNotes ) %] -
    • -
      - - [% IF bibitemloo.reqholdnotes %] - Please enter additional information about the requested item: + [% IF bibitemloo.itemholdable %] + + + + + [% IF ( item_level_itypes ) %] + + [% END %] + + [% UNLESS ( singleBranchMode ) %] + + + [% END %] + [% IF ( itemdata_ccode ) %] + + [% END %] + + [% IF ( itemdata_enumchron ) %] + + [% END %] + + + + [% FOREACH itemLoo IN bibitemloo.itemLoop %] + + + + [% IF ( item_level_itypes ) %] + + [% END %] - [% IF bibitemloo.itemholdable %] - - + [% UNLESS ( singleBranchMode ) %] + + + [% END %] + [% IF ( itemdata_ccode ) %] + + [% END %] + + [% IF ( itemdata_enumchron ) %] + + [% END %] + - [% UNLESS ( singleBranchMode ) %] - - - [% END %] - [% IF ( itemdata_ccode ) %] - - [% END %] - - [% IF ( itemdata_enumchron ) %] - - [% END %] - - - [% END # / FOREACH itemLoo IN bibitemloo.itemLoop%] -
      Select a specific item:
      Copy numberItem typeBarcodeHome libraryLast locationCollectionCall numberVol infoInformation
      + [% IF ( itemLoo.available ) %] + + [% ELSE %] + + Cannot be put on hold + [% END %] + + [% IF ( itemLoo.copynumber ) %] + [% itemLoo.copynumber | html %] + [% END %] + + [% UNLESS ( noItemTypeImages ) %] + [% IF ( itemLoo.imageurl ) %] + + [% END %] [% END %] - - - - [% END # / IF OpacHoldNotes %] + [% itemLoo.translated_description | html %] + [% itemLoo.barcode | html %][% Branches.GetName( itemLoo.homeBranchName ) | html %][% Branches.GetName( itemLoo.holdingBranchName ) | html %] [% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemLoo.ccode, 1 ) | html %][% END %][% itemLoo.callNumber | html %][% itemLoo.enumchron | html %] + [% IF ( itemLoo.dateDue ) %] + Due [% itemLoo.dateDue | html %] + [% ELSIF ( itemLoo.transfertwhen ) %] + In transit from [% Branches.GetName( itemLoo.transfertfrom ) | html %] to [% Branches.GetName( itemLoo.transfertto ) | html %] since [% itemLoo.transfertwhen | html %] [% END %] - - - - [% END # / IF bibitemloo.itemholdable %] - - [% IF bibitemloo.itemholdable %] - - - - - [% IF ( item_level_itypes ) %] - + [% IF ( itemLoo.message ) %] + Unavailable (lost or missing) [% END %] - - [% UNLESS ( singleBranchMode ) %] - - - [% END %] - [% IF ( itemdata_ccode ) %] - - [% END %] - - [% IF ( itemdata_enumchron ) %] - - [% END %] - - - [% FOREACH itemLoo IN bibitemloo.itemLoop %] - - - - [% IF ( item_level_itypes ) %] - - [% END %] + [% END %]. + + [% ELSE %] + Not on hold + [% END # / IF ( itemLoo.reservedate )%] + + + [% END # / FOREACH itemLoo IN bibitemloo.itemLoop%] +
      Select a specific item:
      Copy numberItem typeBarcodeHome libraryLast locationCollectionCall numberVol infoInformation
      - [% IF ( itemLoo.available ) %] - + [% IF ( itemLoo.notforloan ) %] + Not for loan ([% itemLoo.notforloanvalue | html %]) + [% END %] + + [% IF ( itemLoo.reservedate ) %] + + [% IF ( itemLoo.waitingdate ) %] + Waiting [% ELSE %] - - Cannot be put on hold + On hold [% END %] - - [% IF ( itemLoo.copynumber ) %] - [% itemLoo.copynumber | html %] + for patron + [% IF ( itemLoo.waitingdate ) %] + at + [% ELSE %] + expected at [% END %] - - [% UNLESS ( noItemTypeImages ) %] - [% IF ( itemLoo.imageurl ) %] - - [% END %] + [% itemLoo.ExpectedAtLibrary | html %] since + [% IF ( itemLoo.waitingdate ) %] + [% itemLoo.waitingdate | $KohaDates %] + [% ELSE %] + [% IF ( itemLoo.reservedate ) %] + [% itemLoo.reservedate | html %] [% END %] - [% itemLoo.translated_description | html %] -
      + [% END # / IF ( bibitemloo.itemholdable )%] + + + [% END # / IF ( bibitemloo.holdable ) %] + + [% END # / FOREACH bibitemloo IN bibitemloop %] + -
      [% itemLoo.barcode | html %][% Branches.GetName( itemLoo.homeBranchName ) | html %][% Branches.GetName( itemLoo.holdingBranchName ) | html %] [% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemLoo.ccode, 1 ) | html %][% END %][% itemLoo.callNumber | html %][% itemLoo.enumchron | html %] - [% IF ( itemLoo.dateDue ) %] - Due [% itemLoo.dateDue | html %] - [% ELSIF ( itemLoo.transfertwhen ) %] - In transit from [% Branches.GetName( itemLoo.transfertfrom ) | html %] to [% Branches.GetName( itemLoo.transfertto ) | html %] since [% itemLoo.transfertwhen | html %] - [% END %] + [% UNLESS ( none_available ) %] + + [% END %] - [% IF ( itemLoo.message ) %] - Unavailable (lost or missing) - [% END %] - - [% IF ( itemLoo.notforloan ) %] - Not for loan ([% itemLoo.notforloanvalue | html %]) - [% END %] - - [% IF ( itemLoo.reservedate ) %] - - [% IF ( itemLoo.waitingdate ) %] - Waiting - [% ELSE %] - On hold - [% END %] - for patron - [% IF ( itemLoo.waitingdate ) %] - at - [% ELSE %] - expected at - [% END %] - [% itemLoo.ExpectedAtLibrary | html %] since - [% IF ( itemLoo.waitingdate ) %] - [% itemLoo.waitingdate | $KohaDates %] - [% ELSE %] - [% IF ( itemLoo.reservedate ) %] - [% itemLoo.reservedate | html %] - [% END %] - [% END %]. - - [% ELSE %] - Not on hold - [% END # / IF ( itemLoo.reservedate )%] -
      - [% END # / IF ( bibitemloo.itemholdable )%] -
      -
    - [% END # / IF ( bibitemloo.holdable ) %] -
- [% END # / FOREACH bibitemloo IN bibitemloop %] -
- - [% UNLESS ( none_available ) %] - - [% END %] - - - [% END # / UNLESS message %] -
+ + [% END # / UNLESS message %] +
[% INCLUDE 'opac-bottom.inc' %]