mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:18:42 -05:00
Added post status conditions in history modal
no issue
This commit is contained in:
parent
a704071448
commit
0751ff9e9d
1 changed files with 4 additions and 3 deletions
|
@ -51,10 +51,11 @@
|
||||||
<span class="gh-post-history-version">{{gh-format-post-time revision.createdAt format="D MMM YYYY, HH:mm"}}{{this.timezone}}</span>
|
<span class="gh-post-history-version">{{gh-format-post-time revision.createdAt format="D MMM YYYY, HH:mm"}}{{this.timezone}}</span>
|
||||||
{{#if revision.latest}}
|
{{#if revision.latest}}
|
||||||
<span class="gh-post-history-version-tag current">Latest</span>
|
<span class="gh-post-history-version-tag current">Latest</span>
|
||||||
|
{{#if (eq revision.postStatus "published")}}
|
||||||
|
<span class="gh-post-history-version-tag published">{{{revision.postStatus}}}</span>
|
||||||
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if revision.published}}
|
|
||||||
<span class="gh-post-history-version-tag published">Published</span>
|
|
||||||
{{/if}}
|
|
||||||
</div>
|
</div>
|
||||||
<span class="gh-post-history-version-meta {{if (eq revision.author.name "Deleted staff user") "deleted-user"}}">{{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>
|
</button>
|
||||||
|
|
Loading…
Add table
Reference in a new issue