mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 15:29:19 +03:00
Added a post preview link in PSM for "sent" posts
refs https://github.com/TryGhost/Team/issues/954 - When the post has a "sent" status there needs to be a way similar to the one for "published" posts to preview the post
This commit is contained in:
parent
06e63d371c
commit
c27194efc5
@ -14,7 +14,7 @@
|
||||
<label for="url">{{capitalize this.post.displayName}} URL</label>
|
||||
{{!-- new posts don't have a preview link --}}
|
||||
{{#unless this.post.isNew}}
|
||||
{{#if this.post.isPublished}}
|
||||
{{#if (or this.post.isPublished this.post.isSent)}}
|
||||
<a class="post-view-link" target="_blank" href="{{this.post.url}}">
|
||||
View {{this.post.displayName}} {{svg-jar "external"}}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user