From ac5471d54b8acf5c445ae14147930e18cd371c48 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Sat, 30 Sep 2017 08:03:30 -0400 Subject: [PATCH] Bug 19469: Clean up template whitespace Sponsored-by: Stockholm University Library Signed-off-by: Kyle M Hall Passed QA test tool Signed-off-by: Alex Buckley Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/reserve/request.tt | 396 +++++++++++---------- 1 file changed, 205 insertions(+), 191 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 4a1d6a31e8..ab6807a74b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -709,201 +709,215 @@ function checkMultiHold() { [% END %] [% UNLESS ( patron ) %] -[% IF ( reserveloop ) %] -
- [% IF ( multi_hold ) %] - - - [% END %] - -
-Existing holds - -[% FOREACH biblioloo IN biblioloop %] - - [% IF ( biblioloo.reserveloop ) %] - - [% IF ( multi_hold ) %] - - [% END %] - - [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - - - [% ELSE %] - - [% END %] - - - - - - - [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - - [% END %] - - [% IF SuspendHoldsIntranet %][% END %] - - [% FOREACH reserveloo IN biblioloo.reserveloop %] - - - - [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - - [% END %] - - - - - - - - - [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - - [% END %] - - - [% IF SuspendHoldsIntranet %] - - [% END # IF SuspendHoldsIntranet %] - - +
+ Existing holds - [% END %] -
[% biblioloo.title |html %]
Priority Delete?PatronNotesDateExpirationPickup libraryDetailsToggle set to lowest priority  
- - - - - - - Go up - - - - Go top - - - - Go bottom - - - - Go down - - - [% INCLUDE 'patron-title.inc' patron=reserveloo.patron hide_patron_infos_if_needed=1 %] - [% reserveloo.notes %][% reserveloo.date %][% reserveloo.expirationdate %] - [% IF ( reserveloo.found ) %] - [% IF ( reserveloo.atdestination ) %] - [% IF ( reserveloo.found ) %] - Item waiting at [% reserveloo.wbrname %] since [% reserveloo.waiting_date | $KohaDates %] - [% ELSE %] - Waiting to be pulled - [% END %] - [% ELSE %] - Item being transferred to [% reserveloo.wbrname %] - [% END %] - [% ELSE %] - [% IF Koha.Preference('IndependentBranches') && Branches.all().size == 1 %] - [% Branches.GetName(reserveloo.branchcode) %] - [% ELSE %] - - [% END %] - [% END %] - - [% IF ( reserveloo.found ) %] - - [% IF ( reserveloo.barcodenumber ) %] - [% reserveloo.barcodenumber %] - - [% ELSE %] - No barcode - [% END %] - - [% ELSE %] - [% IF ( reserveloo.item_level_hold ) %] - Only item - - [% IF ( reserveloo.barcodenumber ) %] - [% reserveloo.barcodenumber %] - - [% ELSE %] - No barcode - [% END %] - - - [% ELSE %] - [% IF reserveloo.itemtype %] - Next available [% ItemTypes.GetDescription( reserveloo.itemtype ) %] item - [% ELSE %] - Next available - [% END %] - + [% IF ( reserveloop ) %] + + [% IF ( multi_hold ) %] + + [% END %] - [% END %] - - - [% IF ( reserveloo.lowestPriority ) %] - Unset lowest priority - [% ELSE %] - Set to lowest priority - [% END %] - - - - Cancel - - - [% UNLESS ( reserveloo.found ) %] - - - [% IF AutoResumeSuspendedHolds %] - - - Clear date - [% ELSE %] - - [% END %] - [% ELSE %] - - [% END %] -
- [% END %] -[% END %] + [% FOREACH biblioloo IN biblioloop %] + [% IF ( biblioloo.reserveloop ) %] + + [% IF ( multi_hold ) %] + + [% END %] -
- -
- - -[% END %] + + [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] + + + [% ELSE %] + + [% END %] + + + + + + + [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] + + [% END %] + + [% IF SuspendHoldsIntranet %][% END %] + + + [% FOREACH reserveloo IN biblioloo.reserveloop %] + + + + [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] + + [% END %] + + + + + + + + + + + + [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] + + [% END %] + + + + [% IF SuspendHoldsIntranet %] + + [% END # IF SuspendHoldsIntranet %] + + + + [% END %] +
[% biblioloo.title |html %]
Priority Delete?PatronNotesDateExpirationPickup libraryDetailsToggle set to lowest priority  
+ + + + + + + Go up + + + + Go top + + + + Go bottom + + + + Go down + + + + [% IF ( reserveloo.hidename ) %] + [% reserveloo.cardnumber (reserveloo.borrowernumber) %] + [% ELSE %] + [% reserveloo.firstname %] [% reserveloo.surname %] + [% END %] + + [% reserveloo.notes %][% reserveloo.date %][% reserveloo.expirationdate %] + [% IF ( reserveloo.found ) %] + [% IF ( reserveloo.atdestination ) %] + [% IF ( reserveloo.found ) %] + Item waiting at [% reserveloo.wbrname %] since [% reserveloo.waiting_date | $KohaDates %] + [% ELSE %] + Waiting to be pulled + [% END %] + [% ELSE %] + Item being transferred to [% reserveloo.wbrname %] + [% END %] + [% ELSE %] + [% IF Koha.Preference('IndependentBranches') && Branches.all().size == 1 %] + [% Branches.GetName(reserveloo.branchcode) %] + [% ELSE %] + + [% END %] + [% END %] + + [% IF ( reserveloo.found ) %] + + [% IF ( reserveloo.barcodenumber ) %] + [% reserveloo.barcodenumber %] + + [% ELSE %] + No barcode + [% END %] + + [% ELSE %] + [% IF ( reserveloo.item_level_hold ) %] + + Only item + + [% IF ( reserveloo.barcodenumber ) %] + [% reserveloo.barcodenumber %] + + [% ELSE %] + No barcode + [% END %] + + + [% ELSE %] + [% IF reserveloo.itemtype %] + Next available [% ItemTypes.GetDescription( reserveloo.itemtype ) %] item + [% ELSE %] + Next available + [% END %] + + + [% END %] + [% END %] + + + [% IF ( reserveloo.lowestPriority ) %] + Unset lowest priority + [% ELSE %] + Set to lowest priority + [% END %] + + + + Cancel + + + [% UNLESS ( reserveloo.found ) %] + + + [% IF AutoResumeSuspendedHolds %] + + + Clear date + [% ELSE %] + + [% END %] + + [% ELSE %] + + [% END %] +
+ [% END %] + [% END %] + +
+ +
+
+ + [% END %] [% END %] -- 2.16.2