From 4664ba3b25871d2f98af479eb3cbe4f2add95dad Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 26 Jun 2023 17:51:29 +0000 Subject: [PATCH] Bug 34116: Add page-sectioning to item search in label creator This patch adds a "page-section" class to search results page seen when adding items to a label batch. The patch also makes some minor changes to markup around the search header to make it more consistent with other search pages. To test, apply the patch and go to Cataloging -> Label creator. - Click New -> Label batch - Without entering anything in the textarea, click the "Add item(s)" button" - In the pop-up window, perform a search which will return multiple results. - Confirm that everything looks correct and all controls work as they should. Signed-off-by: Sam Lau Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit a7db3895a760922ce6371d63fd99dcd55ef1c7c9) Signed-off-by: Martin Renvoize --- .../prog/en/modules/labels/result.tt | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt index 3e31ec279b..ba722a0a11 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt @@ -29,23 +29,27 @@
-

Search results

+

Search results

+ [% IF ( results ) %] +

Results [% from | html %] through [% to | html %] [% IF ( total ) %] of [% total | html %][% END %]

+ [% ELSE %] +

No results found

+ [% END %]
[% PROCESS pagination %] - [% IF ( results ) %] - Results [% from | html %] through [% to | html %] [% IF ( total ) %] of [% total | html %][% END %] - [% ELSE %] - No results found - [% END %]
- -
+ + +
[% FOREACH result_se IN result_set %]
-- 2.20.1