mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
Removed link to settings for admins in email error copy
This commit is contained in:
parent
e866808193
commit
5674323d2a
@ -1,7 +1,10 @@
|
||||
import ModalComponent from 'ghost-admin/components/modal-base';
|
||||
import {inject as service} from '@ember/service';
|
||||
import {task} from 'ember-concurrency';
|
||||
|
||||
export default ModalComponent.extend({
|
||||
session: service(),
|
||||
|
||||
errorMessage: null,
|
||||
|
||||
// Allowed actions
|
||||
|
@ -50,7 +50,11 @@
|
||||
</div>
|
||||
<div class="pa5 pt3 pb3 f7 bb b--whitegrey">
|
||||
<p class="mb2 lh-copy">
|
||||
{{#if this.session.user.isOwner}}
|
||||
Email failed to send when publishing this post. Please <LinkTo @route="settings.labs">check your Mailgun configuration</LinkTo> if the error persists.
|
||||
{{else}}
|
||||
Email failed to send when publishing this post. Please check your Mailgun configuration if the error persists.
|
||||
{{/if}}
|
||||
</p>
|
||||
<p class="ma0 pa0">
|
||||
<table class="ma0" style="table-layout: fixed">
|
||||
|
@ -32,7 +32,11 @@
|
||||
<button class="close" title="Close" {{on "click" this.closeModal}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
||||
|
||||
<div class="modal-body">
|
||||
{{#if this.session.user.isOwner}}
|
||||
<p>Your post has been published but the email failed to send. Please <LinkTo @route="settings.labs">check your Mailgun configuration</LinkTo> if the error persists.</p>
|
||||
{{else}}
|
||||
<p>Your post has been published but the email failed to send. Please check your Mailgun configuration if the error persists.</p>
|
||||
{{/if}}
|
||||
<p class="mb0">
|
||||
<button type="button" class="gh-btn gh-btn-text regular" {{action (toggle "errorDetailsOpen" this)}}
|
||||
data-test-toggle-error>
|
||||
|
Loading…
Reference in New Issue
Block a user