-
Improvement
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-80259-main -
-
2
-
HQ 2023 Sprint I4.3 Moppies
In BS5 the .badge-[warning|info|...] classes have been dropped.
They should be replaced with .bg-[warning|info|...].Note that for light badge backgrounds "text-dark" should be also included (https://getbootstrap.com/docs/5.0/components/badge/#background-colors)
Also, badge-pill class has been dropped and should be replaced with .rounded-pill
We can refactor the usages in advance without waiting for the BS 5 upgrade
https://getbootstrap.com/docs/5.2/migration/:
Dropped all .badge-* color classes for background utilities (e.g., use .bg-primary instead of .badge-primary).
Dropped .badge-pill—use the .rounded-pill utility instead.
Refactor all the occurrences in the codebase.
Based on MDL-80259_search.pl