Bug 39923 - Add classes to email and phone in overdue report to allow for customization
Summary: Add classes to email and phone in overdue report to allow for customization
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-16 15:31 UTC by Owen Leonard
Modified: 2025-05-17 10:18 UTC (History)
2 users (show)

See Also:
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 (3.28 KB, patch)
2025-05-16 15:47 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 39923: Add classes to email and phone in overdue report to allow for customization (3.33 KB, patch)
2025-05-17 10:18 UTC, Roman Dolny
Details | Diff | Splinter Review

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