diff --git a/ghost/admin/app/components/modal-post-history.hbs b/ghost/admin/app/components/modal-post-history.hbs index cf3c8cb397..d29cb165f5 100644 --- a/ghost/admin/app/components/modal-post-history.hbs +++ b/ghost/admin/app/components/modal-post-history.hbs @@ -41,7 +41,10 @@
{{gh-format-post-time revision.createdAt format="D MMM YYYY, HH:mm"}}{{this.timezone}} {{#if revision.latest}} - Latest + Latest + {{/if}} + {{#if revision.published}} + Publised {{/if}}
{{revision.author.name}} diff --git a/ghost/admin/app/styles/layouts/post-history.css b/ghost/admin/app/styles/layouts/post-history.css index b5a4d9316b..1444a6bd55 100644 --- a/ghost/admin/app/styles/layouts/post-history.css +++ b/ghost/admin/app/styles/layouts/post-history.css @@ -36,19 +36,27 @@ font-weight: 400; } -.nav-list-item .gh-post-history-version-current { +.nav-list-item .gh-post-history-version-tag { margin-left: .8rem; - padding: 0 4px; - background: var(--lightgrey-l2); - color: var(--darkgrey); + padding: 0 5px; font-size: 1.1rem; - font-weight: 500; + font-weight: 600; line-height: inherit; text-transform: uppercase; letter-spacing: .2px; border-radius: var(--border-radius); } +.nav-list-item .gh-post-history-version-tag.current { + background: var(--lightgrey-l2); + color: var(--darkgrey); +} + +.nav-list-item .gh-post-history-version-tag.published { + background: var(--green-d1); + color: var(--white); +} + .nav-list-item .gh-post-history-version-restore { position: absolute; top: 20px;