mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Changed the public URL for sent email only post
refs https://github.com/TryGhost/Team/issues/954 - The URL for email-only posts is served with an `/email/` prefix, so it didn't make sense to show a regular URL in the PSM for such posts
This commit is contained in:
parent
e21b898048
commit
148caaf06d
1 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,11 @@
|
|||
@focus-out={{action "updateSlug" this.slugValue}}
|
||||
@stopEnterKeyDownPropagation={{true}} />
|
||||
</div>
|
||||
<GhUrlPreview @slug={{this.slugValue}} @tagName="p" @classNames="description" />
|
||||
{{#if this.post.isSent}}
|
||||
<GhUrlPreview @prefix="email" @slug={{this.slugValue}} @tagName="p" @classNames="description" />
|
||||
{{else}}
|
||||
<GhUrlPreview @slug={{this.slugValue}} @tagName="p" @classNames="description" />
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
Loading…
Add table
Reference in a new issue