1
0
mirror of https://github.com/django/django.git synced 2025-02-24 17:15:03 +00:00
Sjoerd Langkemper d87127655f Fixed #21421 -- Added level_tag attribute on messages.
Exposing the level name (e.g. "info") makes it possible to prepend
something to the class name. For example, Twitter Bootstrap has
an alert-info class. This class can now be added to the message
using `class="alert-{{ message.level_tag }}".
Because the level_tag was on the end of the `tags` property, it
could not be used in this fashion when extra_tags were given.
2013-11-11 17:58:02 +01:00
..
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-11-02 20:15:40 +01:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-11-07 09:42:25 -05:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-11-09 10:17:17 -05:00