Rename wagtailadmin/pages/index.html to wagtailadmin/pages/listing.html

This template is useful for other page listings where we may also want
to enable bulk actions, e.g. the search view – and later, the workflows
usage view, as well as the page type usage view.

This is a separate commit just so git knows we're just renaming. We'll
reinstate the pages/index.html as a no-op extension of this
pages/listing.html template.
pull/12236/head
Sage Abdullah 2024-08-16 12:54:46 +01:00
rodzic 51b5075090
commit 587ddbae54
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,11 @@
{% extends "wagtailadmin/generic/index.html" %}
{% load wagtailadmin_tags i18n %}
{% comment %}
A base template for listing pages in the Wagtail admin. This is used as-is
by non-explorable listings, e.g. in a `PageListingViewSet`'s `IndexView` and
in the main "Search" view. It is also extended by explorable_index.html for
additional functionality.
{% endcomment %}
{% block bulk_actions %}
{% include 'wagtailadmin/bulk_actions/footer.html' with select_all_obj_text=_("Select all pages in listing") app_label='wagtailcore' model_name='page' objects=page_obj %}