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