Bugzilla – Attachment 152702 Details for
Bug 34116
Add page-sectioning to item search in label creator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34116: Add page-sectioning to item search in label creator
Bug-34116-Add-page-sectioning-to-item-search-in-la.patch (text/plain), 3.09 KB, created by
Owen Leonard
on 2023-06-26 18:03:50 UTC
(
hide
)
Description:
Bug 34116: Add page-sectioning to item search in label creator
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-06-26 18:03:50 UTC
Size:
3.09 KB
patch
obsolete
>From 1cbccdb2423022edcc11b9f86a8d690e14c389d1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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. >--- > .../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 @@ > > <body id="labels_result" class="tools labels"> > <div class="main container-fluid"> >- <h1>Search results</h1> >+ <h1>Search results</h1> >+ [% IF ( results ) %] >+ <h3>Results [% from | html %] through [% to | html %] [% IF ( total ) %] of [% total | html %][% END %]</h3> >+ [% ELSE %] >+ <h3>No results found</h3> >+ [% END %] > <div class="results"> > [% PROCESS pagination %] >- [% IF ( results ) %] >- <strong>Results [% from | html %] through [% to | html %] [% IF ( total ) %] of [% total | html %][% END %]</strong> >- [% ELSE %] >- No results found >- [% END %] > > <form name="resultform" action="" style="display:block"> > <div id="toolbar" class="btn-toolbar"> > <div class="btn-group"><button type="button" class="btn btn-default" id="add_items"><i class="fa fa-plus"></i> Add checked</button></div> > <div class="btn-group"><a href="#" class="btn btn-default close"><i class="fa fa-times-circle"></i> Done</a></div> > </div> >- <div><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-times"></i> Clear all</a></div> >+ <div id="selection_ops"> >+ <a id="CheckAll" class="btn btn-link" href="#"><i class="fa fa-check"></i> Select all</a> >+ <a id="CheckNone" class="btn btn-link" href="#"><i class="fa fa-times"></i> Clear all</a> >+ </div> > >- <div id="label-search-results"> >+ <div id="label-search-results" class="page-section"> > <input type="hidden" name="ccl_query" value="[% ccl_query | html %]" /> > [% FOREACH result_se IN result_set %] > <div style="border-bottom:1px solid #CCC;padding:1em 0;"> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34116
:
152702
|
152835
|
153212