From 18d85cc8d72b55880e88c5364a3819965c8a2831 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 Signed-off-by: Nick Clemens --- .../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 7d8276e60e..27daf1b103 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -507,201 +507,215 @@ [% 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 | html %][% reserveloo.date | html %][% reserveloo.expirationdate | html %] - [% IF ( reserveloo.found ) %] - [% IF ( reserveloo.atdestination ) %] - [% IF ( reserveloo.found ) %] - Item waiting at [% reserveloo.wbrname | html %] since [% reserveloo.waiting_date | $KohaDates %] - [% ELSE %] - Waiting to be pulled + [% IF ( reserveloop ) %] + + [% IF ( multi_hold ) %] + + [% END %] - [% ELSE %] - Item being transferred to [% reserveloo.wbrname | html %] - [% END %] - [% ELSE %] - [% IF Koha.Preference('IndependentBranches') && Branches.all().size == 1 %] - [% Branches.GetName(reserveloo.branchcode) | html %] - [% ELSE %] - - [% END %] - [% END %] - - [% IF ( reserveloo.found ) %] - - [% IF ( reserveloo.barcodenumber ) %] - [% reserveloo.barcodenumber | html %] - - [% ELSE %] - No barcode - [% END %] - - [% ELSE %] - [% IF ( reserveloo.item_level_hold ) %] - Only item - - [% IF ( reserveloo.barcodenumber ) %] - [% reserveloo.barcodenumber | html %] - - [% ELSE %] - No barcode - [% END %] - - - [% ELSE %] - [% IF reserveloo.itemtype %] - Next available [% ItemTypes.GetDescription( reserveloo.itemtype ) | html %] 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 %] + [% 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.39.5