Add 'revisions' action to 'more'.

pull/2443/merge
Roel Bruggink 2016-04-04 20:20:27 +02:00 zatwierdzone przez Matt Westcott
rodzic 0855f59500
commit bedde59aaa
4 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -6,6 +6,7 @@ Changelog
* Moved lesser-user actions in the page explorer into a 'More' dropdown
* Added a hook `register_page_listing_buttons` for adding action buttons to the page explorer
* Added 'revisions' action to pages list (Roel Bruggink)
* The "dynamic serve view" for images has been greatly improved See release notes for details
* Added a hook `insert_global_admin_js` for inserting custom JavaScript throughout the admin backend (Tom Dyson)
* The type of the ``search_fields`` attribute on ``Page`` models (and other searchable models) has changed from a tuple to a list (Tim Heap)

Wyświetl plik

@ -120,6 +120,7 @@ Contributors
* Jonas Lergell
* Danielle Madeley
* Janneke Janssen
* Roel Bruggink
Translators
===========

Wyświetl plik

@ -27,6 +27,7 @@ Minor features
* Moved lesser-user actions in the page explorer into a 'More' dropdown
* Added a hook :ref:`register_page_listing_buttons` for adding action buttons to the page explorer
* Added 'revisions' action to pages list (Roel Bruggink)
* Added a hook :ref:`insert_global_admin_js` for inserting custom JavaScript throughout the admin backend (Tom Dyson)
* The type of the ``search_fields`` attribute on ``Page`` models (and other searchable models) has changed from a tuple to a list (see upgrade consideration below) (Tim Heap)
* Use `PasswordChangeForm` when user changes their password, requiring the user to enter their current password (Matthijs Melissen)

Wyświetl plik

@ -97,3 +97,4 @@ def page_listing_more_buttons(page, page_perms, is_parent=False):
yield Button(_('Delete'), reverse('wagtailadmin_pages:delete', args=[page.id]), priority=30)
if page_perms.can_unpublish():
yield Button(_('Unpublish'), reverse('wagtailadmin_pages:unpublish', args=[page.id]), priority=40)
yield Button(_('Revisions'), reverse('wagtailadmin_pages:revisions_index', args=[page.id]), priority=50)