mirror of
https://github.com/jazzband/django-constance.git
synced 2026-04-22 07:54:43 +00:00
Use breadcrumbs code from Django.
This commit is contained in:
parent
13980f39a6
commit
d93dd7d2d9
1 changed files with 3 additions and 9 deletions
|
|
@ -85,14 +85,8 @@
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="../../">
|
||||
{% trans "Home" %}
|
||||
</a>
|
||||
›
|
||||
<a href="../">
|
||||
{{ app_label|capfirst }}
|
||||
</a>
|
||||
›
|
||||
{{ opts.verbose_name_plural|capfirst }}
|
||||
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
|
||||
› <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ app_label|capfirst|escape }}</a>
|
||||
› {{ opts.verbose_name_plural|capfirst }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue