Opened 4 months ago
Last modified 2 months ago
#36386 closed New feature
New styles for admin INFO and DEBUG messages — at Version 1
Reported by: | Michał Pokusa | Owned by: | |
---|---|---|---|
Component: | contrib.admin | Version: | 5.2 |
Severity: | Normal | Keywords: | admin message level info debug |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | yes |
Description (last modified by )
Would you be open to consider adding new styles for INFO and DEBUG messages levels in admin site? Currently they default to the green success one. Implementation would be very easy, and this addition would also be backwards compatible if the success one would be the default in e.g. modeladmin.message_user(...)
.
The main reason for this would be that there are separate styles for 3/5 DEFAULT_LEVELS
from django.contrib.messages.constants
and two are left without implementation.
I include screenshots to how this could look like:
If this gets accepted I would be happy to be assigned to this issue.