Ticket #10917: 10917.admin-messages-block.diff

File 10917.admin-messages-block.diff, 881 bytes (added by Julien Phalip, 14 years ago)
  • django/contrib/admin/templates/admin/base.html

    diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html
    index 87f6c87..bf28c50 100644
    a b  
    5454    <!-- END Header -->
    5555    {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
    5656    {% endif %}
    57 
     57       
     58        {% block messages %}
    5859        {% if messages %}
    5960        <ul class="messagelist">{% for message in messages %}
    6061          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
    61         {% endfor %}</ul>
     62        {% endfor %}</ul>
    6263        {% endif %}
     64        {% endblock messages %}
    6365
    6466    <!-- Content -->
    6567    <div id="content" class="{% block coltype %}colM{% endblock %}">
Back to Top