mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Revert "Removed 'View in browser' from email modal"
This reverts commit 8919ff8e7e
.
This commit is contained in:
parent
b26eb0aa3c
commit
7675b27924
1 changed files with 18 additions and 2 deletions
|
@ -114,7 +114,24 @@
|
|||
@class="gh-btn gh-btn-primary gh-btn-icon" />
|
||||
{{else}}
|
||||
{{#if this.post.emailOnly}}
|
||||
<button
|
||||
{{#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
|
||||
class="gh-btn gh-btn-primary"
|
||||
type="button"
|
||||
{{on "click" @close}}
|
||||
|
@ -122,7 +139,6 @@
|
|||
>
|
||||
<span>OK</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</footer>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue