From 5c822735c378ccc3e7a795630d35b86b57a6f8d4 Mon Sep 17 00:00:00 2001 From: Breno Teixeira Date: Mon, 3 Feb 2014 15:22:00 -0200 Subject: [PATCH] =?UTF-8?q?Atualiza=C3=A7=C3=A3o=20do=20template=20=20base?= =?UTF-8?q?.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manage.py | 0 templates/admin/base.html | 45 +++++++++++++++++++-------------------- 2 files changed, 22 insertions(+), 23 deletions(-) mode change 100644 => 100755 manage.py diff --git a/manage.py b/manage.py old mode 100644 new mode 100755 diff --git a/templates/admin/base.html b/templates/admin/base.html index 9f6cd68..28eaa80 100644 --- a/templates/admin/base.html +++ b/templates/admin/base.html @@ -1,12 +1,12 @@ - - +{% load admin_static %}{% load firstof from future %} + {% block title %}{% endblock %} - + {% block extrastyle %}{% endblock %} - -{% if LANGUAGE_BIDI %}{% endif %} - + +{% if LANGUAGE_BIDI %}{% endif %} + {% block extrahead %}{% endblock %} {% block blockbots %}{% endblock %} @@ -16,7 +16,9 @@
+ {% block container-top %}{% endblock %} + {% if not is_popup %} - {% block breadcrumbs %}{% endblock %} + {% block breadcrumbs %} + + {% endblock %} {% endif %} + {% block messages %} {% if messages %} + {{ message|capfirst }} + {% endfor %} {% endif %} + {% endblock messages %}