From b9780d7e74a840ae1bd15940430f48f46ab9f17b Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 Signed-off-by: Tomas Cohen Arazi --- 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 ) %] [% END %] + [% IF ( patron.protected ) %] + + [% END %] [% INCLUDE 'patron-title.inc' %] [% IF Koha.Preference('showLastPatron') %] -- 2.43.0