Bugzilla – Attachment 159961 Details for
Bug 35474
Add icon for protected patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35474: Add icon for protected patrons
Bug-35474-Add-icon-for-protected-patrons.patch (text/plain), 1.48 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-12-18 12:53:06 UTC
(
hide
)
Description:
Bug 35474: Add icon for protected patrons
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-12-18 12:53:06 UTC
Size:
1.48 KB
patch
obsolete
>From b9780d7e74a840ae1bd15940430f48f46ab9f17b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 4 Dec 2023 14:21:08 +0000 >Subject: [PATCH] Bug 35474: Add icon for protected patrons > >This patch adds a "protected" icon (fa-lock) to the patron information >in the sidebar of patron-related pages in the staff interface. > >To test, apply the patch and perform a patron search in the staff >interface. > >- Edit a patron and go to the "Library management" section. >- Set "Protected" to "Yes." >- Save the record and view the information in the sidebar. You should > see the lock icon by the patron's name. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index 6b1f7911018..f183253d9f3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -23,6 +23,9 @@ > [% IF ( patron_is_superlibrarian ) %] > <i class="fa fa-bolt fa-fw" title="Superlibrarian patron"></i> > [% END %] >+ [% IF ( patron.protected ) %] >+ <i class="fa fa-lock fa-fw" title="Protected patron"></i> >+ [% END %] > [% INCLUDE 'patron-title.inc' %] > </h5> > [% IF Koha.Preference('showLastPatron') %] >-- >2.43.0
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 35474
:
159532
|
159536
| 159961