Summary: | Make materials specified note easier to customize | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | Circulation | Assignee: | Lucas Gass (lukeg) <lucas> |
Status: | RESOLVED FIXED | QA Contact: | Katrin Fischer <katrin.fischer> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | david, fridolin.somers, gmcharlt, kebliss, kyle.m.hall, martin.renvoize, pedro.amorim |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This enhancement adds classes to the materials specified messages that are displayed when checking out and checking in an item, when there is a value for an item in 952$3. The new classes available for customizing IntranetUserCSS are mats_spec_label and mats_spec_message.
Example CSS customization:
```
.mats_spec_label { color: white; background: purple; }
.mats_spec_message { color: white; background: green; }
```
|
Version(s) released in: |
23.11.00,23.05.06
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 36074 | ||
Attachments: |
Bug 35253: Add classes to materials specfied message on check in and checkout
Bug 35253: Add classes to materials specfied message on check in and checkout Bug 35253: Add classes to materials specfied message on check in and checkout |
Description
Lucas Gass (lukeg)
2023-11-03 17:34:59 UTC
Created attachment 158360 [details] [review] Bug 35253: Add classes to materials specfied message on check in and checkout To test: 1. APPLY PATCH 2. Add a materials specified message to an item. ( 952$3 ) 3. Add the following CSS to your IntranetUserCSS: .mats_spec_label { color: white; background: purple; } .mats_spec_message { color: white; background: green; } 4. Checkout that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. 5. Check in that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. Created attachment 158398 [details] [review] Bug 35253: Add classes to materials specfied message on check in and checkout To test: 1. APPLY PATCH 2. Add a materials specified message to an item. ( 952$3 ) 3. Add the following CSS to your IntranetUserCSS: .mats_spec_label { color: white; background: purple; } .mats_spec_message { color: white; background: green; } 4. Checkout that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. 5. Check in that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. Signed-off-by: David Nind <david@davidnind.com> Created attachment 158472 [details] [review] Bug 35253: Add classes to materials specfied message on check in and checkout To test: 1. APPLY PATCH 2. Add a materials specified message to an item. ( 952$3 ) 3. Add the following CSS to your IntranetUserCSS: .mats_spec_label { color: white; background: purple; } .mats_spec_message { color: white; background: green; } 4. Checkout that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. 5. Check in that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 23.11. Nice work everyone, thanks! Small useful enhancement, I choose to backport Pushed to 23.05.x for 23.05.06 |