Restore normal breadcrumb block in admin/base.html
This was overridden for some reason, causing the 'Home' link to be incorrect for templates that inherit admin/base.html directly.
This commit is contained in:
parent
1602ba47e6
commit
f1f5ee0308
|
@ -55,7 +55,12 @@
|
|||
{% block nav-global %}{% endblock %}
|
||||
</div>
|
||||
<!-- END Header -->
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} › {{ title }}{% endif %}</div>{% endblock %}
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
|
||||
{% if title %} › {{ title }}{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
|
||||
{% if messages %}
|
||||
|
|
Loading…
Reference in New Issue