0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Remove redundant allow_navigation flag on _list_move.html (it's always true)

This commit is contained in:
Matt Westcott 2015-06-25 13:04:48 +01:00
parent c51f17cd89
commit 02d6b08249
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
Navigation controls for the page listing in 'move' mode
{% endcomment %}
<td class="{% if allow_navigation and page.can_descend %}children{% endif %}">
{% if allow_navigation and page.can_descend %}
<td class="{% if page.can_descend %}children{% endif %}">
{% if page.can_descend %}
<a href="{% url 'wagtailadmin_pages_move_choose_destination' page_to_move.id page.id %}" class="icon text-replace icon-arrow-right navigate-pages" title="{% blocktrans with title=page.title %}Explore subpages of '{{ title }}'{% endblocktrans %}">{% trans 'Explore' %}</a>
{% endif %}
</td>

View File

@ -8,6 +8,6 @@
</header>
<div class="nice-padding">
{% include "wagtailadmin/pages/listing/_list_move.html" with moving=1 allow_navigation=1 pages=child_pages parent_page=viewed_page %}
{% include "wagtailadmin/pages/listing/_list_move.html" with moving=1 pages=child_pages parent_page=viewed_page %}
</div>
{% endblock %}