From 7071ea0188aeeaf9c6511bc795d079259ab33030 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 16 Nov 2023 12:13:06 +0000 Subject: [PATCH] Bug 35349: Reindent label item search template This patch reindents the label item search template so that it has consistent indentation. These changes should have no visible effect on the page. To test, apply the patch and go to Cataloging -> Label creator. - Click New -> Label batch. - Click the "Add items" button under the form. - A "Search for items" window should pop up. - The form should look correct, and work as it did before the patch. Viewing the diff while ignoring whitespace changes should show only places where a line break was added. Signed-off-by: Barbara Johnson Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit ee6fe93274e0e46e91a584272237e535284673f8) Signed-off-by: Fridolin Somers --- .../prog/en/modules/labels/search.tt | 234 ++++++++++-------- 1 file changed, 137 insertions(+), 97 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt index 940903d509..8f19d15734 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt @@ -12,103 +12,143 @@
-

Search for items -[% IF ( batch_id ) %] -to add to Batch [% batch_id | html %] -[% END %] -

- -
- - - - -
-
  1. - - - - -
  2. -
-
- -[% IF ( sort_by_loop ) %] -
Sort by: -

-

-
[% END %] - - - - -
-
    -
  1. - - -
    [% INCLUDE 'date-format.inc' %]
    -
  2. -
  3. - - -
    [% INCLUDE 'date-format.inc' %]
    -
  4. -
-
- -
Cancel
-
-
+

Search for items + [% IF ( batch_id ) %] + to add to Batch [% batch_id | html %] + [% END %] +

+ +
+ + + + +
+
    +
  1. + + +
  2. +
+
+ + [% IF ( sort_by_loop ) %] +
+ Sort by: +

+ +

+
+ [% END %] + +
+
    +
  1. + + +
    [% INCLUDE 'date-format.inc' %]
    +
  2. +
  3. + + +
    [% INCLUDE 'date-format.inc' %]
    +
  4. +
+
+ +
+ + Cancel +
+
+ [% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] -- 2.39.5