Do not show bulk actions checkbox in page type usage view

pull/9981/head
Sage Abdullah 2023-02-01 17:31:04 +00:00 zatwierdzone przez Matt Westcott
rodzic 0221457a67
commit 44dd13289a
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -31,7 +31,7 @@ ordering: the current sort parameter
{% endif %}
{% endif %}
</th>
{% else %}
{% elif show_bulk_actions %}
{% include 'wagtailadmin/bulk_actions/select_all_checkbox_cell.html' with parent=parent_page.id %}
{% endif %}
<th class="title">

Wyświetl plik

@ -32,3 +32,4 @@ class TestContentTypeUse(TestCase, WagtailTestUtils):
+ urlencode({"next": request_url})
)
self.assertContains(response, delete_url)
self.assertNotContains(response, "data-bulk-action-select-all-checkbox")