mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Updated copy for deleted staff users in post history
No ref
This commit is contained in:
parent
5feedadc80
commit
22c45ee9b1
3 changed files with 8 additions and 5 deletions
|
@ -56,7 +56,7 @@
|
|||
<span class="gh-post-history-version-tag published">Published</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
<span class="gh-post-history-version-meta {{if (eq revision.author.name "Anonymous") "anonymous-author"}}">{{revision.author.name}}</span>
|
||||
<span class="gh-post-history-version-meta {{if (eq revision.author.name "Deleted staff user") "deleted-user"}}">{{revision.author.name}}</span>
|
||||
</button>
|
||||
{{#if (and revision.selected (not revision.latest))}}
|
||||
<button
|
||||
|
|
|
@ -61,7 +61,7 @@ export default class ModalPostHistory extends Component {
|
|||
title: revision.get('title'),
|
||||
feature_image: revision.get('featureImage'),
|
||||
author: {
|
||||
name: revision.get('author.name') || 'Anonymous'
|
||||
name: revision.get('author.name') || 'Deleted staff user'
|
||||
},
|
||||
postStatus: revision.get('postStatus'),
|
||||
reason: revision.get('reason')
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
font-weight: 400;
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version-meta.anonymous-author {
|
||||
color: var(--lightgrey);
|
||||
.nav-list-item .gh-post-history-version-meta.deleted-user {
|
||||
color: var(--lightgrey-d2);
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version-tag {
|
||||
|
@ -167,7 +167,10 @@
|
|||
.gh-post-history-main .show-diff .koenig-lexical h3,
|
||||
.gh-post-history-main .show-diff .koenig-lexical h4,
|
||||
.gh-post-history-main .show-diff .koenig-lexical h5,
|
||||
.gh-post-history-main .show-diff .koenig-lexical p {
|
||||
.gh-post-history-main .show-diff .koenig-lexical h6,
|
||||
.gh-post-history-main .show-diff .koenig-lexical p,
|
||||
.gh-post-history-main .show-diff .koenig-lexical blockquote,
|
||||
.gh-post-history-main .show-diff .koenig-lexical aside {
|
||||
color: rgba(21, 23, 26, 0.4);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue