mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
e322709f95
refs https://github.com/TryGhost/Team/issues/793 requires https://github.com/TryGhost/Ghost/pull/13074 - replaced main email design settings modal component with labs component and removed conditional - removed `labs-newsletter-settings` class and cleaned up CSS
48 lines
1.7 KiB
Handlebars
48 lines
1.7 KiB
Handlebars
<section class="gh-canvas">
|
|
<GhCanvasHeader class="gh-canvas-header">
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
<LinkTo @route="settings">Settings</LinkTo>
|
|
<span>{{svg-jar "arrow-right"}}</span>
|
|
Email newsletter
|
|
</h2>
|
|
<section class="view-actions">
|
|
<GhTaskButton @buttonText="Save settings"
|
|
@task={{this.saveSettings}}
|
|
@successText="Saved"
|
|
@runningText="Saving"
|
|
@class="gh-btn gh-btn-primary gh-btn-icon"
|
|
data-test-button="save-members-settings"
|
|
/>
|
|
</section>
|
|
</GhCanvasHeader>
|
|
|
|
<section class="view-container settings-debug">
|
|
<div class="gh-setting-liquid-section">
|
|
<GhMembersEmailSetting
|
|
@fromAddress={{this.fromAddress}}
|
|
@supportAddress={{this.supportAddress}}
|
|
@setEmailAddress={{this.setEmailAddress}}
|
|
@emailRecipientsExpanded={{this.emailRecipientsOpen}}
|
|
@toggleEmailDesignSettings={{this.toggleEmailDesignSettings}}
|
|
@toggleEmailRecipientsExpansion={{this.toggleEmailRecipientsOpen}}
|
|
/>
|
|
</div>
|
|
</section>
|
|
|
|
{{#if this.showLeaveSettingsModal}}
|
|
<GhFullscreenModal
|
|
@modal="leave-settings"
|
|
@confirm={{this.confirmLeave}}
|
|
@close={{this.cancelLeave}}
|
|
@modifier="action wide"
|
|
/>
|
|
{{/if}}
|
|
</section>
|
|
|
|
{{#if this.showEmailDesignSettings}}
|
|
<GhFullscreenModal @modifier="full-overlay portal-settings">
|
|
<ModalEmailDesignSettings
|
|
@closeModal={{this.toggleEmailDesignSettings}}
|
|
/>
|
|
</GhFullscreenModal>
|
|
{{/if}} |