• Sjoerd Langkemper's avatar
    Fixed #21421 -- Added level_tag attribute on messages. · d8712765
    Sjoerd Langkemper yazdı
    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.
    d8712765
Adı
Son kayıt (commit)
Son güncelleme
..
admin Loading commit data...
comments Loading commit data...
formtools Loading commit data...
gis Loading commit data...
auth.txt Loading commit data...
contenttypes.txt Loading commit data...
csrf.txt Loading commit data...
flatpages.txt Loading commit data...
humanize.txt Loading commit data...
index.txt Loading commit data...
messages.txt Loading commit data...
redirects.txt Loading commit data...
sitemaps.txt Loading commit data...
sites.txt Loading commit data...
staticfiles.txt Loading commit data...
syndication.txt Loading commit data...
webdesign.txt Loading commit data...