kopia lustrzana https://github.com/wagtail/wagtail
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
rodzic
51b5075090
commit
587ddbae54
|
@ -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 %}
|
Ładowanie…
Reference in New Issue