Summary: | Add classes to email and phone in overdue report to allow for customization | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Circulation | Assignee: | Owen Leonard <oleonard> |
Status: | Pushed to stable --- | QA Contact: | Lucas Gass (lukeg) <lucas> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | gmcharlt, kyle, 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: |
This patches adds a overdue_email and overdue_phone to the overdue report making it easier to target the phone/email with CSS or JavaScript.
|
|
Version(s) released in: |
25.11.00,25.05.03
|
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 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
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 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> Created attachment 184654 [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> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Nice work everyone! Pushed to main for 25.11 Nice work everyone! Pushed to 25.05.x |