Skip to content

Commit 201c071

Browse files
committed
Merge pull request django-cms#2223 from czpython/fixes-2172
Fixes # 2172
2 parents 1d8a4be + 0117ec2 commit 201c071

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

cms/templates/admin/cms/page/change_form.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,9 @@
1212
{% endblock %}
1313

1414
{% block breadcrumbs %}
15-
{% if not is_popup %}
16-
<div class="breadcrumbs">
17-
<a href="../../../">{% trans "Home" %}</a> &rsaquo;
18-
<a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
19-
{% if can_change %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
20-
{% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original.get_title|truncatewords:"18" }}{% endif %}
21-
</div>
22-
{% endif %}
15+
{% with has_change_permission=can_change %}
16+
{{ block.super }}
17+
{% endwith %}
2318
{% endblock %}
2419

2520
{% block content %}

0 commit comments

Comments
 (0)