Bugzilla – Attachment 190117 Details for
Bug 41363
Don't hide patron category limitation warning behind icon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41363: Don't hide patron category limitation warning behind icon
Bug-41363-Dont-hide-patron-category-limitation-war.patch (text/plain), 2.47 KB, created by
Owen Leonard
on 2025-12-03 14:09:55 UTC
(
hide
)
Description:
Bug 41363: Don't hide patron category limitation warning behind icon
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-12-03 14:09:55 UTC
Size:
2.47 KB
patch
obsolete
>From 42a69283f0f7258aa32392434c966780478e4c51 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 3 Dec 2025 08:59:38 -0500 >Subject: [PATCH] Bug 41363: Don't hide patron category limitation warning > behind icon > >This patch takes the warning text hidden behind an icon and puts >it into a "hint" <div> in order to make the information more accessible. > >To test, apply the patch and go to Administration -> Patron categories. > >- Edit a patron category to lmit it to a single library. >- Switch to that library and locate a patron in that category. Copy the > card number. >- Switch to different library and search for the patron by card number. >- Edit the patron. >- Scroll down to the "Library management" section. Under the category > dropdown you should see a "hint" style div with the library limitation > warning. > >Sponsored-by: Athens County Public Libraries >--- > .../prog/en/modules/members/memberentrygen.tt | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index db1ad64809e..b9450a35f4f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -959,10 +959,13 @@ > </optgroup> > [% END %] > </select> >+ <span class="required">Required</span> > [% IF limited_category %] >- <span title="The patron's current category ([% patron_category.description | html %]) is limited to other libraries"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></span> >+ <div class="hint"> >+ <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> >+ The patron's current category ([% patron_category.description | html %]) is limited to other libraries >+ </div> > [% END %] >- <span class="required">Required</span> > </li> > > [% UNLESS nosort1 %] >-- >2.39.5
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 41363
:
190115
| 190117