[Koha-bugs] [Bug 31981] Add classes to each NEEDSCONFIRM message for easier styling in circ/circulation.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 21 21:46:54 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31981

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163647|0                           |1
        is obsolete|                            |

--- Comment #5 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 163653
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163653&action=edit
Bug 31981: Add classes to each NEEDSCONFIRM message in circ/circulation.tt

This patch adds a 'needsconfirm' class and a unique class to each NEEDSCONFIRM
message on circ/circulation.tt to make these easier to style individually.

To test:
1. APPLY patch
2. Review the diff to see each of the NEEDSCONFIRMATION messages.
3. Add some CSS to IntranetUserCSS like this:

.needsconfirm { padding: 1em; color: #fff; }

.reserved { background: blue; }
.debt { background: red; }
.reserve_waiting { background: orange; }
.rentalcharge { background: purple; }
.renew_issue { background: limegreen; }

4. Place a hold on an item for Patron A, do not trigger the hold, and check the
item out to Patron B.  The message background is blue.
5. Then check the item in, confirm the hold, then check the item out to Patron
B.  The message background is orange
6. Check something out that is already checked out to that patron, message
background is lime green.
7. Have too much debt and check something out to a patron, message is red.

Note: There are plenty more NEEDSCONFIRMATION messages but I don't think we
need to test every single one.
Note: These background colors are more testing purposes only.
Signed-off-by: Donna <donna at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list