Ticket #12041: messages_block.diff

File messages_block.diff, 772 bytes (added by Ben Davis, 15 years ago)

Patch to allow messages <ul> in base.html to be overridden

  • django/contrib/admin/templates/admin/base.html

     
    5353    <!-- END Header -->
    5454    {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
    5555    {% endif %}
    56 
     56        {% block messages %}
    5757        {% if messages %}
    5858        <ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul>
    5959        {% endif %}
     60        {% endblock %}
    6061
    6162    <!-- Content -->
    6263    <div id="content" class="{% block coltype %}colM{% endblock %}">
Back to Top