kitware-resonant / django-auth-style

Django template styling for django-allauth and django-oauth-toolkit.
Apache License 2.0
3 stars 1 forks source link

Messages need a development harness #1

Open jtomeck opened 3 years ago

jtomeck commented 3 years ago

... to be able to tell if they are warnings, successes, or information. Right now I only have styles for success messages (it will look like a success even if it's a warning or information message). @brianhelba

brianhelba commented 3 years ago

See https://docs.djangoproject.com/en/3.1/ref/contrib/messages/#displaying-messages and the default message tag values above: https://docs.djangoproject.com/en/3.1/ref/contrib/messages/#message-tags

If their suggested implementation is awkward, I'd be happy to talk about ways of adding some explicit conditional logic to the template.