Bugzilla – Attachment 159536 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.43 KB, created by
Lucas Gass (lukeg)
on 2023-12-04 16:41:35 UTC
(
hide
)
Description:
Bug 35474: Add icon for protected patrons
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-12-04 16:41:35 UTC
Size:
1.43 KB
patch
obsolete
>From 62bdc282cdeb708d275616d1e56ce6e26375cab6 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> >--- > 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 ead8c18fbef..a3bd5c9af55 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.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 35474
:
159532
|
159536
|
159961