Bug 39923

Summary: Add classes to email and phone in overdue report to allow for customization
Product: Koha Reporter: Owen Leonard <oleonard>
Component: CirculationAssignee: Owen Leonard <oleonard>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
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:
Circulation function:
Attachments: Bug 39923: Add classes to email and phone in overdue report to allow for customization
Bug 39923: Add classes to email and phone in overdue report to allow for customization

Description Owen Leonard 2025-05-16 15:31:40 UTC
Adding classes to the email and phone in the table will allow libraries to style or hide the information.
Comment 1 Owen Leonard 2025-05-16 15:47:42 UTC
Created attachment 182544 [details] [review]
Bug 39923: Add classes to email and phone in overdue report to allow for customization

This patch adds <span>s with classes around the patron's email and phone
information in the results of the overdues report. This will allow for
greater flexibility in styling or hiding the information.

To test, apply the patch and go to Administration -> Sytem preferences
-> IntranetUserCSS.

- Add this to the preference:
  .overdue_email { color: red; }
  .overdue_phone { color: blue; }
- Go to Circulation -> Overdues and confirm that you can see the custom
  colors in the results.

Sponsored-by: Athens County Public Libraries
Comment 2 Roman Dolny 2025-05-17 10:18:17 UTC
Created attachment 182560 [details] [review]
Bug 39923: Add classes to email and phone in overdue report to allow for customization

This patch adds <span>s with classes around the patron's email and phone
information in the results of the overdues report. This will allow for
greater flexibility in styling or hiding the information.

To test, apply the patch and go to Administration -> Sytem preferences
-> IntranetUserCSS.

- Add this to the preference:
  .overdue_email { color: red; }
  .overdue_phone { color: blue; }
- Go to Circulation -> Overdues and confirm that you can see the custom
  colors in the results.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>