Fixed #1090 -- Added {% block content_title %} hook to admin base.html template. Thanks, Joseph Kocherhans

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-15 06:07:43 +00:00
parent ceb558c277
commit 60e3d1352d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<!-- Content --> <!-- Content -->
<div id="content" class="{% block coltype %}colM{% endblock %}"> <div id="content" class="{% block coltype %}colM{% endblock %}">
{% block pretitle %}{% endblock %} {% block pretitle %}{% endblock %}
{% if title %}<h1>{{ title }}</h1>{% endif %} {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
{% block content %}{{ content }}{% endblock %} {% block content %}{{ content }}{% endblock %}
{% block sidebar %}{% endblock %} {% block sidebar %}{% endblock %}
<br class="clear" /> <br class="clear" />