Skip to content

Remove versions_history_form #82

Description

@mauritsvanrees

In PR #81 I have moved this skin template to a browser view. But I think it is best removed, because it is mostly a duplicate.
Our versions_history_form is roughly the same as @@historyview in plone.app.layout, which is a small wrapper around @@contenthistory in plone.app.layout, which is a viewlet turned into a view. Their version looks nicer. But our versions_history_form has a preview (which contenthistory points to) and a form to add a new version, if the policy is manual.

So:

  • Move the preview to contenthistory in plone.app.layout. Or make it a separate page that still lives in CMFEditions. Possibly let contenthistory load it as a popup.
  • Move the form to add a new version into contenthistory.

BTW, I saw a couple of CSRF errors when working on the PR yesterday. Not sure which template or view causes this. Would be good to check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions