kopia lustrzana https://github.com/wagtail/wagtail
Do not show bulk actions checkbox in page type usage view
rodzic
0221457a67
commit
44dd13289a
|
@ -31,7 +31,7 @@ ordering: the current sort parameter
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</th>
|
</th>
|
||||||
{% else %}
|
{% elif show_bulk_actions %}
|
||||||
{% include 'wagtailadmin/bulk_actions/select_all_checkbox_cell.html' with parent=parent_page.id %}
|
{% include 'wagtailadmin/bulk_actions/select_all_checkbox_cell.html' with parent=parent_page.id %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<th class="title">
|
<th class="title">
|
||||||
|
|
|
@ -32,3 +32,4 @@ class TestContentTypeUse(TestCase, WagtailTestUtils):
|
||||||
+ urlencode({"next": request_url})
|
+ urlencode({"next": request_url})
|
||||||
)
|
)
|
||||||
self.assertContains(response, delete_url)
|
self.assertContains(response, delete_url)
|
||||||
|
self.assertNotContains(response, "data-bulk-action-select-all-checkbox")
|
||||||
|
|
Ładowanie…
Reference in New Issue