From 03bb4e12c25629c898158dbcf2f22eec115af281 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 --- .../prog/en/modules/labels/result.tt | 19 +++++++++++-------- 1 file changed, 11 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 51579c794f..a8d3f3a4a3 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,26 @@
-

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.30.2