From 638f2ea1e7c0b9cf759039fbe3836c1b6118622b 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 --- .../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 940903d509f..8f19d157345 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.43.0