We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d8a4be + 0117ec2 commit 201c071Copy full SHA for 201c071
cms/templates/admin/cms/page/change_form.html
@@ -12,14 +12,9 @@
12
{% endblock %}
13
14
{% block breadcrumbs %}
15
-{% if not is_popup %}
16
-<div class="breadcrumbs">
17
- <a href="../../../">{% trans "Home" %}</a> ›
18
- <a href="../../">{{ app_label|capfirst|escape }}</a> ›
19
- {% if can_change %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} ›
20
- {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original.get_title|truncatewords:"18" }}{% endif %}
21
-</div>
22
-{% endif %}
+{% with has_change_permission=can_change %}
+ {{ block.super }}
+{% endwith %}
23
24
25
{% block content %}
0 commit comments