Ghost/ghost/post-revisions
Ronald Langeveld 6189040fc4
Added unpublished reason to post revisions (#16726)
closes https://github.com/TryGhost/Team/issues/3137

We have now included the ability to display an "Unpublished" tag for revisions that have been unpublished. The tag is only displayed when the revision's reason property is set to "unpublished". A new revision is triggered when a post is unpublished, regardless whether there's a change in the content.
2023-05-03 09:20:34 +02:00
..
lib Added unpublished reason to post revisions (#16726) 2023-05-03 09:20:34 +02:00
test Added unpublished reason to post revisions (#16726) 2023-05-03 09:20:34 +02:00
.eslintrc.js Added post-revisions package 2023-04-17 11:14:57 +01:00
index.js Added post-revisions package 2023-04-17 11:14:57 +01:00
package.json Added post-revisions package 2023-04-17 11:14:57 +01:00
README.md Added post-revisions package 2023-04-17 11:14:57 +01:00

Post Revisions

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests