Bug 35474

Summary: Add icon for protected patrons
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: fridolin.somers, gmcharlt, kyle.m.hall, lucas
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
24.05.00,23.11.02,23.05.09
Circulation function:
Bug Depends on: 26170    
Bug Blocks:    
Attachments: Bug 35474: Add icon for protected patrons
Bug 35474: Add icon for protected patrons
Bug 35474: Add icon for protected patrons

Description Katrin Fischer 2023-12-04 10:53:55 UTC
It would be nice if the protected status of a patron account stood out in some way, using an icon (like superlibrarian or provileged users) or a text message.
Comment 1 Owen Leonard 2023-12-04 16:37:23 UTC
Created attachment 159532 [details] [review]
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.
Comment 2 Lucas Gass (lukeg) 2023-12-04 16:41:35 UTC
Created attachment 159536 [details] [review]
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>
Comment 3 Tomás Cohen Arazi (tcohen) 2023-12-18 12:53:06 UTC
Created attachment 159961 [details] [review]
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>
Comment 4 Katrin Fischer 2024-01-16 14:49:29 UTC
Looks perfect, thanks!
Comment 5 Katrin Fischer 2024-01-16 15:36:09 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 6 Fridolin Somers 2024-01-17 09:56:27 UTC
Small useful enhancement,
Pushed to 23.11.x for 23.11.02
Comment 7 Lucas Gass (lukeg) 2024-02-02 18:03:05 UTC
Backported to 23.05.x for upcoming 23.05.09.
Comment 8 Martin Renvoize (ashimema) 2024-02-07 11:29:24 UTC
RMaint assist: Reverted from 23.05.x for 23.05.10 as this depends on an enhancement not pushed to this branch.