refactoring
This commit is contained in:
parent
e9e0e96357
commit
25a0f7fc26
|
|
@ -70,7 +70,6 @@
|
|||
<ul>
|
||||
{% for c in page.get_children %}
|
||||
<li>
|
||||
|
||||
{% if page_perms.can_edit %}
|
||||
<a href="{% url 'wagtailadmin_pages:edit' c.id %}"
|
||||
title="{% trans 'Edit this page' %}">{{ c.get_admin_display_title }}</a>
|
||||
|
|
@ -78,10 +77,8 @@
|
|||
{{ c.get_admin_display_title }}
|
||||
{% endif %}
|
||||
</li>
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue