Make sure the settings panel is listed in tabbed interface examples

pull/11622/head
Tibor Leupold 2024-02-07 10:58:44 -08:00 zatwierdzone przez LB (Ben Johnston)
rodzic 510237dd29
commit 50b70219d9
3 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,7 @@ Changelog
* Fix: Ensure that unit tests correctly check for migrations in all core Wagtail apps (Matt Westcott)
* Fix: Correctly handle `date` objects on `human_readable_date` template tag (Jhonatan Lopes)
* Docs: Add contributing development documentation on how to work with a fork of Wagtail (Nix Asteri, Dan Braghis)
* Docs: Make sure the settings panel is listed in tabbed interface examples (Tibor Leupold)
* Maintenance: Move RichText HTML whitelist parser to use the faster, built in `html.parser` (Jake Howard)
* Maintenance: Remove duplicate 'path' in default_exclude_fields_in_copy (Ramchandra Shahi Thakuri)
* Maintenance: Update unit tests to always use the faster, built in `html.parser` & remove `html5lib` dependency (Jake Howard)

Wyświetl plik

@ -26,6 +26,7 @@ class BlogPage(Page):
ObjectList(content_panels, heading='Content'),
ObjectList(sidebar_content_panels, heading='Sidebar content'),
ObjectList(Page.promote_panels, heading='Promote'),
ObjectList(Page.settings_panels, heading='Settings'), # The default settings are now displayed in the sidebar but need to be in the `TabbedInterface`.
])
```
@ -49,6 +50,7 @@ class FundingPage(Page):
edit_handler = TabbedInterface([
ObjectList(shared_panels, heading='Details'),
ObjectList(private_panels, heading='Admin only', permission="superuser"),
ObjectList(Page.settings_panels, heading='Settings'), # The default settings are now displayed in the sidebar but need to be in the `TabbedInterface`.
])
```

Wyświetl plik

@ -29,6 +29,7 @@ depth: 1
### Documentation
* Add contributing development documentation on how to work with a fork of Wagtail (Nix Asteri, Dan Braghis)
* Make sure the settings panel is listed in tabbed interface examples (Tibor Leupold)
### Maintenance