django-cms / djangocms-versioning

General purpose versioning package for Django CMS 4 and above.
Other
33 stars 29 forks source link

feat: Add versioning actions to settings (admin change view) of versioned objects #408

Closed fsbraun closed 1 month ago

fsbraun commented 1 month ago

Description

This PR adds standard versioning actions to the change of view of versioned objects, including page contents:

image

This includes a "New Draft" button for published versions:

image

Further improvements:

image

(For not frontend-editable objects, the "View" button already takes the user to the change view and no settings button is offered.)

Finally, this PR fixes a bug that prevented users from editing slugs in some cases. (https://github.com/django-cms/django-cms/issues/7866)

Related resources

Checklist