Bug 33038

Summary: Add classes to category code and category type in patron brief information for easier customization
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: PatronsAssignee: Lucas Gass (lukeg) <lucas>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: barbara.johnson, caroline.cyr-la-rose, gmcharlt, kyle.m.hall, matt.blenkinsop
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.05.00
Circulation function:
Attachments: Bug 33038: Add classes to patroncategorycode for easier customization
Bug 33038: Add classes to patroncategorycode for easier customization
Bug 33038: Add classes to patroncategorycode for easier customization

Description Lucas Gass (lukeg) 2023-02-22 14:59:29 UTC
In the patronbriefinfo there is a line for patroncategorycode. It contains both the description and the code. 

Some libraries like to only display one or the other and that is a bit difficult to achieve currently. If we added some extra classes this would become easy.
Comment 1 Lucas Gass (lukeg) 2023-02-22 15:02:22 UTC
Created attachment 147163 [details] [review]
Bug 33038: Add classes to patroncategorycode for easier customization

To test:
1. Pull up a patron and look at the patroncategory inside the patronbriefinfo. Description and code are together in one HTML element, they are hard to seperate.
2. Apply patch.
3. Look again and notice the new classes.
Comment 2 ByWater Sandboxes 2023-04-14 17:22:11 UTC
Created attachment 149698 [details] [review]
Bug 33038: Add classes to patroncategorycode for easier customization

To test:
1. Pull up a patron and look at the patroncategory inside the patronbriefinfo. Description and code are together in one HTML element, they are hard to seperate.
2. Apply patch.
3. Look again and notice the new classes.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 3 Katrin Fischer 2023-04-15 20:59:27 UTC
Created attachment 149711 [details] [review]
Bug 33038: Add classes to patroncategorycode for easier customization

To test:
1. Pull up a patron and look at the patroncategory inside the patronbriefinfo. Description and code are together in one HTML element, they are hard to seperate.
2. Apply patch.
3. Look again and notice the new classes.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi (tcohen) 2023-04-17 12:42:20 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 5 Matt Blenkinsop 2023-04-18 12:22:35 UTC
Enhancement - not backporting to 22.11.x

Nice work everyone!
Comment 6 Caroline Cyr La Rose 2023-05-23 14:33:32 UTC
Back end stuff, nothing to add/amend in the manual.