diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2011-04-19 22:26:50 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2011-04-19 22:26:50 +0000 |
| commit | 4175e3d104b46459545809690cdd456bc65d8be8 (patch) | |
| tree | 3da07ee71f3525f19e42a67617820dfa52416dcb | |
| parent | 1286d783110e8b4d1df8068ed0d9093b49cdcaec (diff) | |
Fixed #10917 - admin/base.html should contain messages block
Thanks to Philomat/julien for the patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/admin/templates/admin/base.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 87f6c8738d..cc1f22c4c3 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -55,11 +55,13 @@ {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} › {{ title }}{% endif %}</div>{% endblock %} {% endif %} + {% block messages %} {% if messages %} <ul class="messagelist">{% for message in messages %} <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> - {% endfor %}</ul> + {% endfor %}</ul> {% endif %} + {% endblock messages %} <!-- Content --> <div id="content" class="{% block coltype %}colM{% endblock %}"> |
