kopia lustrzana https://github.com/wagtail/wagtail
release note for #1114
rodzic
24c04ee709
commit
a83a16de5c
|
@ -38,6 +38,7 @@ Changelog
|
|||
* Plain text fields in the page editor now use auto-expanding text areas
|
||||
* Date / time pickers now consistently use times without seconds, to prevent Javascript behaviour glitches when focusing / unfocusing fields
|
||||
* Added hooks `register_rich_text_embed_handler` and `register_rich_text_link_handler` for customising link / embed handling within rich text fields
|
||||
* Added hook `construct_homepage_summary_items` for customising the site summary panel on the admin homepage
|
||||
|
||||
|
||||
0.8.6 (10.03.2015)
|
||||
|
|
|
@ -94,6 +94,8 @@ The available hooks are:
|
|||
.. _construct_homepage_summary_items:
|
||||
|
||||
``construct_homepage_summary_items``
|
||||
.. versionadded:: 1.0
|
||||
|
||||
Add or remove items from the 'site summary' bar on the admin homepage (which shows the number of pages and other object that exist on the site). The callable passed into this hook should take a ``request`` object and a list of ``SummaryItem`` objects to be modified as required. These objects have a ``render()`` method, which returns an HTML string, and an ``order`` property, which is an integer that specifies the order in which the items will appear.
|
||||
|
||||
|
||||
|
|
|
@ -77,6 +77,7 @@ Admin
|
|||
* Reversing ``django.contrib.auth.admin.login`` will no longer lead to Wagtails login view (making it easier to have front end views)
|
||||
* Added cache-control headers to all admin views. This allows Varnish/Squid/CDN to run on vanilla settings in front of a Wagtail site
|
||||
* Date / time pickers now consistently use times without seconds, to prevent Javascript behaviour glitches when focusing / unfocusing fields
|
||||
* Added hook ``construct_homepage_summary_items`` for customising the site summary panel on the admin homepage
|
||||
|
||||
|
||||
Project template
|
||||
|
|
Ładowanie…
Reference in New Issue