mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Updated error and info boxes in publishing flow
Refs https://github.com/TryGhost/Team/issues/1544
This commit is contained in:
parent
cc8dd9dedf
commit
513c8655e4
4 changed files with 13 additions and 4 deletions
|
@ -54,7 +54,6 @@
|
|||
|
||||
{{#if this.errorMessage}}
|
||||
<p class="error gh-box gh-box-error mt3 mb3">
|
||||
{{svg-jar "warning"}}
|
||||
{{this.errorMessage}}
|
||||
</p>
|
||||
{{/if}}
|
||||
|
|
|
@ -68,7 +68,7 @@ export default class PublishFlowOptions extends Component {
|
|||
let errorMessage = '';
|
||||
|
||||
if (isServerUnreachableError(e)) {
|
||||
errorMessage = 'Unable to connect, please check your internet connection and try again';
|
||||
errorMessage = 'Unable to connect, please check your internet connection and try again.';
|
||||
} else if (e && isString(e)) {
|
||||
errorMessage = e;
|
||||
} else if (e && isArray(e)) {
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
</p>
|
||||
{{else if (not @publishOptions.mailgunIsConfigured)}}
|
||||
<p class="gh-box gh-content-box">
|
||||
Setup <a href="https://ghost.org/docs/newsletters/#bulk-email-configuration" target="_blank" rel="noreferrer noopener">Mailgun</a> to start sending newsletters!
|
||||
Set up <a href="https://ghost.org/docs/newsletters/#bulk-email-configuration" target="_blank" rel="noreferrer noopener">Mailgun</a> to start sending newsletters!
|
||||
</p>
|
||||
{{/if}}
|
|
@ -636,7 +636,9 @@
|
|||
}
|
||||
|
||||
.gh-publish-types + .gh-box {
|
||||
margin-top: 12px;
|
||||
margin: 16px 0 0;
|
||||
padding: 16px 20px;
|
||||
font-size: 1.45rem;
|
||||
}
|
||||
|
||||
.gh-publish-schedule .gh-radio {
|
||||
|
@ -772,6 +774,14 @@
|
|||
line-height: 1.35em;
|
||||
}
|
||||
|
||||
.gh-publish-confirmation + .gh-box-error {
|
||||
margin: -4rem 0 4.8rem;
|
||||
padding: 16px 20px;
|
||||
border: 0;
|
||||
background: rgba(245,11,35,.05);
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.gh-revert-to-draft {
|
||||
color: var(--green-d1);
|
||||
font-weight: 500;
|
||||
|
|
Loading…
Add table
Reference in a new issue