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:
Naz 2021-08-31 19:57:32 +04:00
parent 06e63d371c
commit c27194efc5

View File

@ -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>