kopia lustrzana https://github.com/wagtail/wagtail
Remove redundant allow_navigation flag on _list_move.html (it's always true)
rodzic
c51f17cd89
commit
02d6b08249
|
@ -4,8 +4,8 @@
|
||||||
Navigation controls for the page listing in 'move' mode
|
Navigation controls for the page listing in 'move' mode
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
<td class="{% if allow_navigation and page.can_descend %}children{% endif %}">
|
<td class="{% if page.can_descend %}children{% endif %}">
|
||||||
{% if allow_navigation and page.can_descend %}
|
{% 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>
|
<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 %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="nice-padding">
|
<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>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Ładowanie…
Reference in New Issue