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:
parent
c51f17cd89
commit
02d6b08249
@ -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>
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user