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

pull/1441/head
Matt Westcott 2015-06-25 13:04:48 +01:00
rodzic c51f17cd89
commit 02d6b08249
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -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 %}