Ticket #10917: base.html.diff

File base.html.diff, 876 bytes (added by Philomat, 15 years ago)

svn diff

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

     
    5454    {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
    5555    {% endif %}
    5656
    57         {% if messages %}
    58         <ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul>
    59         {% endif %}
     57    {% block messages %}
     58    {% if messages %}
     59    <ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul>
     60    {% endif %}
     61    {% endblock %}
    6062
    6163    <!-- Content -->
    6264    <div id="content" class="{% block coltype %}colM{% endblock %}">
Back to Top