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

--- Comment #5 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 182085
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182085&action=edit
Bug 39696: (Alternative) Set text-bg-info on badge

With bootstrap 5, a 'badge' class should always be accompanied by a
text-bg-# class. This second class sets the badge color and an
appropriate forground text color to ensure appropriate contrast.

Steps to test:
1. Enable the ability to mark items as "Claimed Returned" by setting the
ClaimReturnedLostValue system preference.
2. Check out an item to a patron, and backdate the due date so that it becomes
overdue.
3. Navigate to: /cgi-bin/koha/circ/overdue.pl to view the overdue item.
4. Mark the item as "Claims Returned".
5. Observe the display: the claim return date text uses #fff (white), which is
not visible on white table rows andi
   has poor contrast on grey rows.
6. Apply the patch
7. Clear cache in browser and observe the display: the claim return date badge
is now blue with black text.
8. Sign off and have an amazing day! :D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to