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:
parent
a87d7e0aa8
commit
8919ff8e7e
1 changed files with 2 additions and 18 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue