mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Updated status badges in post revision list
Refs https://github.com/TryGhost/Team/issues/3123
This commit is contained in:
parent
1b38361211
commit
2342bfd06f
@ -63,12 +63,12 @@
|
||||
<span class="gh-post-history-version-tag current">Latest</span>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq revision.new_publish true)}}
|
||||
{{#if revision.new_publish}}
|
||||
<span class="gh-post-history-version-tag published">Published</span>
|
||||
{{/if}}
|
||||
{{!-- {{#if (eq revision.new_unpublish true)}}
|
||||
<span class="gh-post-history-version-tag current">Unpublished</span>
|
||||
{{/if}} --}}
|
||||
{{#if revision.new_unpublish}}
|
||||
<span class="gh-post-history-version-tag unpublished">Unpublished</span>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
<span class="gh-post-history-version-meta {{if (eq revision.author.name "Deleted staff user") "deleted-user"}}">{{revision.author.name}}</span>
|
||||
|
@ -53,12 +53,17 @@
|
||||
|
||||
.nav-list-item .gh-post-history-version-tag.current {
|
||||
background: var(--lightgrey-l2);
|
||||
color: var(--darkgrey);
|
||||
color: var(--middarkgrey);
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version-tag.published {
|
||||
background: var(--green-d1);
|
||||
color: var(--white);
|
||||
background: color-mod(var(--green) a(20%));
|
||||
color: var(--green-d2);
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version-tag.unpublished {
|
||||
background: color-mod(var(--pink) a(15%));
|
||||
color: var(--pink-d1);
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version-restore {
|
||||
|
Loading…
Reference in New Issue
Block a user