Ticket #12803: admin_message_icons.diff
File admin_message_icons.diff, 1.2 KB (added by , 15 years ago) |
---|
-
django/contrib/admin/media/css/base.css
445 445 background: #ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat; 446 446 } 447 447 448 ul.messagelist li.warning{ 449 background-image: url(../img/admin/icon_alert.gif); 450 } 451 452 ul.messagelist li.error{ 453 background-image: url(../img/admin/icon_error.gif); 454 } 455 448 456 .errornote { 449 457 font-size: 12px !important; 450 458 display: block; -
django/contrib/admin/templates/admin/base.html
55 55 {% endif %} 56 56 57 57 {% if messages %} 58 <ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul> 58 <ul class="messagelist">{% for message in messages %} 59 <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> 60 {% endfor %}</ul> 59 61 {% endif %} 60 62 61 63 <!-- Content -->