0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00

Removed 'View in browser' from email modal

This commit is contained in:
Daniël van der Winden 2024-08-13 15:08:13 +02:00
parent a87d7e0aa8
commit 8919ff8e7e

View file

@ -114,24 +114,7 @@
@class="gh-btn gh-btn-primary gh-btn-icon" />
{{else}}
{{#if this.post.emailOnly}}
{{#unless this.post.isScheduled}}
<button
class="gh-btn"
type="button"
{{on "click" this.viewInBrowser}}
{{on "mousedown" (optional this.noop)}}
>
<span>View in browser</span>
</button>
{{/unless}}
{{else}}
<GhTaskButton
@buttonText="Copy preview link"
@task={{this.handleCopyPreviewLink}}
@successText="Link copied"
@class="gh-btn gh-btn-icon" />
{{/if}}
<button
<button
class="gh-btn gh-btn-primary"
type="button"
{{on "click" @close}}
@ -139,6 +122,7 @@
>
<span>OK</span>
</button>
{{/if}}
{{/if}}
</footer>
</div>