Bug 35474 - Add icon for protected patrons
Summary: Add icon for protected patrons
Status: Pushed to stable
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 26170
Blocks:
  Show dependency treegraph
 
Reported: 2023-12-04 10:53 UTC by Katrin Fischer
Modified: 2024-07-25 11:11 UTC (History)
4 users (show)

See Also:
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:


Attachments
Bug 35474: Add icon for protected patrons (1.37 KB, patch)
2023-12-04 16:37 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35474: Add icon for protected patrons (1.43 KB, patch)
2023-12-04 16:41 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 35474: Add icon for protected patrons (1.48 KB, patch)
2023-12-18 12:53 UTC, Tomás Cohen Arazi (tcohen)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.