diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc index 84fb105751..483f026453 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -3,234 +3,230 @@ [% USE KohaDates %] [% PROCESS 'i18n.inc' %] -[% IF ( HOLDS.count ) %] -
| Title | - [% IF ( showpriority ) %] -Placed on | - [% ELSE %] -Placed on | - [% END %] -Expires on | - [% UNLESS( singleBranchMode) %] -Pickup location | - [% END %] - [% IF ( showpriority ) %] -Priority | - [% END %] -Status | - [% IF SuspendHoldsOpac and ! onlyinfo %] -Suspend | - [% END %] - [% IF ! onlyinfo %] -Modify | - [% END %] -- |
|---|---|---|---|---|---|---|---|---|---|
|
- [% IF ! onlyinfo %]
- [% INCLUDE 'biblio-title.inc' biblio=HOLD.biblio link=> 1 %]
- [% HOLD.item.enumchron | html %]
- [% ELSE %]
-
- [% INCLUDE 'biblio-title.inc' biblio=HOLD.biblio %]
- [% HOLD.item.enumchron | html %]
-
- [% END %]
- [% HOLD.biblio.author | html %]
- [% IF HOLD.item_group_id %]
- Next available item from item group: [% HOLD.item_group.description | html %] - [% END %] - [% IF HOLD.item_level_hold %] -Item on hold: [% HOLD.item.barcode | html %] - [% END %] - |
- - Hold date: - [% HOLD.reservedate | $KohaDates %] - - | - [% IF ! HOLD.found %] -- [% IF ( HOLD.expirationdate ) %] - Expiration: - [% HOLD.expirationdate | $KohaDates %] - [% ELSE %] - Expiration: - Never expires - [% END %] - [% ELSE %] - | - - - [% END %] - | - [% UNLESS( singleBranchMode) %] -- Pickup location: - [% HOLD.branch.branchname | html %] - [% IF ( HOLD.can_update_pickup_location_opac ) %] - - - - [% END %] - | - [% END %] - [% IF ( showpriority ) %] -- Priority: - [% HOLD.priority | html %] - | - [% END %] -- Status: - [% IF ( HOLD.is_waiting ) %] - - [% IF ( HOLD.is_at_destination ) %] - Item waiting at [% HOLD.branch.branchname | html %] - [% IF ( HOLD.desk_id ) %], [% HOLD.desk.desk_name | html %],[% END %] - [% IF ( HOLD.waitingdate ) %] - since [% HOLD.waitingdate | $KohaDates %] - [% IF HOLD.expirationdate %] - until [% HOLD.expirationdate | $KohaDates %] - [% END %] - [% END %] - - [% ELSE %] - Item in transit to [% Branches.GetName( HOLD.branchcode ) | html %] - [% END %] - [% ELSE %] - [% IF ( HOLD.is_in_transit ) %] - [% SET transfer = HOLD.item.get_transfer %] - [% branch_name = BLOCK %][% Branches.GetName( transfer.frombranch ) | html %][% END %] - Item in transit from [% branch_name| $raw %] since - [% transfer.datesent | $KohaDates %] - [% ELSIF ( HOLD.is_in_processing ) %] - Item in processing - [% ELSIF ( HOLD.suspend ) %] - Suspended[% IF ( HOLD.suspend_until ) %] until [% HOLD.suspend_until | $KohaDates %][% END %] - [% ELSE %] - [% IF HOLD.itemtype %] - Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]' - [% ELSE %] - Pending - [% END %] - [% END %] - [% END %] - | - [% IF SuspendHoldsOpac and ! onlyinfo %] -- [% IF ( HOLD.is_cancelable_from_opac ) %] - [% IF HOLD.suspend %] - - [% ELSE %] - [% IF AutoResumeSuspendedHolds %] - Suspend - [% ELSE %] - - [% END # / IF AutoResumeSuspendedHolds %] - [% END # / IF HOLD.suspend %] - [% END # / IF ( HOLD.is_cancelable_from_opac )%] - | - [% END # / IF SuspendHoldsOpac %] - [% IF ! onlyinfo %] -- [% IF ( HOLD.is_cancelable_from_opac ) %] - - [% ELSIF HOLD.is_waiting && HOLD.cancellation_requestable_from_opac %] - - [% END %] - | -- [% END # / IF onlyinfo %] - |
| Title | + [% IF ( showpriority ) %] +Placed on | + [% ELSE %] +Placed on | [% END %] - [% END %] - -[% END # / #HOLDS.count %] +Expires on | + [% UNLESS( singleBranchMode) %] +Pickup location | + [% END %] + [% IF ( showpriority ) %] +Priority | + [% END %] +Status | + [% IF SuspendHoldsOpac and ! onlyinfo %] +Suspend | + [% END %] + [% IF ! onlyinfo %] +Modify | + [% END %] ++ |
|---|---|---|---|---|---|---|---|---|---|
|
+ [% IF ! onlyinfo %]
+ [% INCLUDE 'biblio-title.inc' biblio=HOLD.biblio link=> 1 %]
+ [% HOLD.item.enumchron | html %]
+ [% ELSE %]
+
+ [% INCLUDE 'biblio-title.inc' biblio=HOLD.biblio %]
+ [% HOLD.item.enumchron | html %]
+
+ [% END %]
+ [% HOLD.biblio.author | html %]
+ [% IF HOLD.item_group_id %]
+ Next available item from item group: [% HOLD.item_group.description | html %] + [% END %] + [% IF HOLD.item_level_hold %] +Item on hold: [% HOLD.item.barcode | html %] + [% END %] + |
+ + Hold date: + [% HOLD.reservedate | $KohaDates %] + + | + [% IF ! HOLD.found %] ++ [% IF ( HOLD.expirationdate ) %] + Expiration: + [% HOLD.expirationdate | $KohaDates %] + [% ELSE %] + Expiration: + Never expires + [% END %] + [% ELSE %] + | + - + [% END %] + | + [% UNLESS( singleBranchMode) %] ++ Pickup location: + [% HOLD.branch.branchname | html %] + [% IF ( HOLD.can_update_pickup_location_opac ) %] + + + + [% END %] + | + [% END %] + [% IF ( showpriority ) %] ++ Priority: + [% HOLD.priority | html %] + | + [% END %] ++ Status: + [% IF ( HOLD.is_waiting ) %] + + [% IF ( HOLD.is_at_destination ) %] + Item waiting at [% HOLD.branch.branchname | html %] + [% IF ( HOLD.desk_id ) %], [% HOLD.desk.desk_name | html %],[% END %] + [% IF ( HOLD.waitingdate ) %] + since [% HOLD.waitingdate | $KohaDates %] + [% IF HOLD.expirationdate %] + until [% HOLD.expirationdate | $KohaDates %] + [% END %] + [% END %] + + [% ELSE %] + Item in transit to [% Branches.GetName( HOLD.branchcode ) | html %] + [% END %] + [% ELSE %] + [% IF ( HOLD.is_in_transit ) %] + [% SET transfer = HOLD.item.get_transfer %] + [% branch_name = BLOCK %][% Branches.GetName( transfer.frombranch ) | html %][% END %] + Item in transit from [% branch_name| $raw %] since + [% transfer.datesent | $KohaDates %] + [% ELSIF ( HOLD.is_in_processing ) %] + Item in processing + [% ELSIF ( HOLD.suspend ) %] + Suspended[% IF ( HOLD.suspend_until ) %] until [% HOLD.suspend_until | $KohaDates %][% END %] + [% ELSE %] + [% IF HOLD.itemtype %] + Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]' + [% ELSE %] + Pending + [% END %] + [% END %] + [% END %] + | + [% IF SuspendHoldsOpac and ! onlyinfo %] ++ [% IF ( HOLD.is_cancelable_from_opac ) %] + [% IF HOLD.suspend %] + + [% ELSE %] + [% IF AutoResumeSuspendedHolds %] + Suspend + [% ELSE %] + + [% END # / IF AutoResumeSuspendedHolds %] + [% END # / IF HOLD.suspend %] + [% END # / IF ( HOLD.is_cancelable_from_opac )%] + | + [% END # / IF SuspendHoldsOpac %] + [% IF ! onlyinfo %] ++ [% IF ( HOLD.is_cancelable_from_opac ) %] + + [% ELSIF HOLD.is_waiting && HOLD.cancellation_requestable_from_opac %] + + [% END %] + | ++ [% END # / IF onlyinfo %] + |