2021-01-28 18:25:21 +03:00
|
|
|
<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"
|
2021-02-09 19:22:58 +03:00
|
|
|
@class="gh-btn gh-btn-primary gh-btn-icon"
|
2021-01-28 18:25:21 +03:00
|
|
|
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}}
|
2021-05-05 18:59:18 +03:00
|
|
|
@setEmailAddress={{this.setEmailAddress}}
|
2021-05-07 12:02:19 +03:00
|
|
|
@emailRecipientsExpanded={{this.emailRecipientsOpen}}
|
2021-06-03 19:22:46 +03:00
|
|
|
@toggleEmailDesignSettings={{this.toggleEmailDesignSettings}}
|
2021-05-07 12:02:19 +03:00
|
|
|
@toggleEmailRecipientsExpansion={{this.toggleEmailRecipientsOpen}}
|
2021-01-28 18:25:21 +03:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</section>
|
2021-05-05 18:59:18 +03:00
|
|
|
|
|
|
|
{{#if this.showLeaveSettingsModal}}
|
|
|
|
<GhFullscreenModal
|
|
|
|
@modal="leave-settings"
|
|
|
|
@confirm={{this.confirmLeave}}
|
|
|
|
@close={{this.cancelLeave}}
|
|
|
|
@modifier="action wide"
|
|
|
|
/>
|
|
|
|
{{/if}}
|
2021-06-03 19:22:46 +03:00
|
|
|
</section>
|
|
|
|
|
|
|
|
{{#if this.showEmailDesignSettings}}
|
|
|
|
<GhFullscreenModal @modifier="full-overlay portal-settings">
|
2021-06-21 15:40:54 +03:00
|
|
|
<ModalEmailDesignSettings
|
|
|
|
@closeModal={{this.toggleEmailDesignSettings}}
|
|
|
|
/>
|
2021-06-03 19:22:46 +03:00
|
|
|
</GhFullscreenModal>
|
|
|
|
{{/if}}
|