diff --git a/django/contrib/admin/media/css/base.css b/django/contrib/admin/media/css/base.css
index da502f3..3da399a 100644
a
|
b
|
ul.messagelist li {
|
442 | 442 | margin: 0 0 3px 0; |
443 | 443 | border-bottom: 1px solid #ddd; |
444 | 444 | color: #666; |
| 445 | } |
| 446 | |
| 447 | ul.messagelist li.success, |
| 448 | ul.messagelist li.info { |
445 | 449 | background: #ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat; |
446 | 450 | } |
447 | 451 | |
| 452 | ul.messagelist li.warning, |
| 453 | ul.messagelist li.debug { |
| 454 | background: #ffc url(../img/admin/icon_alert.gif) 5px .3em no-repeat; |
| 455 | } |
| 456 | |
| 457 | ul.messagelist li.error { |
| 458 | background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat; |
| 459 | } |
| 460 | |
448 | 461 | .errornote { |
449 | 462 | font-size: 12px !important; |
450 | 463 | display: block; |
diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html
index 3fd9eb3..7386fed 100644
a
|
b
|
|
56 | 56 | {% endif %} |
57 | 57 | |
58 | 58 | {% if messages %} |
59 | | <ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul> |
| 59 | <ul class="messagelist">{% for m in messages %}<li class="{% if m.tags %}{{ m.tags.split|last }}{% else %}info{% endif %}">{{ m }}</li>{% endfor %}</ul> |
60 | 60 | {% endif %} |
61 | 61 | |
62 | 62 | <!-- Content --> |