2021-03-29 14:49:09 +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>
|
2021-05-14 16:33:18 +03:00
|
|
|
Membership
|
2021-03-29 14:49:09 +03:00
|
|
|
</h2>
|
|
|
|
<section class="view-actions">
|
2021-04-14 21:02:36 +03:00
|
|
|
<GhTaskButton
|
|
|
|
@buttonText="Save settings"
|
2021-03-29 14:49:09 +03:00
|
|
|
@task={{this.saveSettingsTask}}
|
|
|
|
@successText="Saved"
|
|
|
|
@runningText="Saving"
|
|
|
|
@class="gh-btn gh-btn-primary gh-btn-icon"
|
|
|
|
data-test-button="save-settings"
|
|
|
|
/>
|
|
|
|
</section>
|
|
|
|
</GhCanvasHeader>
|
|
|
|
|
2021-05-17 10:58:15 +03:00
|
|
|
<section class="view-container settings-debug">
|
|
|
|
<div class="gh-main-section">
|
|
|
|
<h4 class="gh-main-section-header small">Portal settings</h4>
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-row pa2">
|
|
|
|
<div class="flex-grow-1">
|
|
|
|
<h4>Portal Settings</h4>
|
|
|
|
<span>Customize members modal signup flow</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<button type="button" class="gh-btn gh-btn-green gh-btn-outline" {{action (toggle "showPortalSettings" this)}} data-test-toggle-membersFrom>
|
|
|
|
<span> Customise Portal </span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2021-03-29 14:49:09 +03:00
|
|
|
<section class="view-container settings-debug">
|
2021-05-14 16:33:18 +03:00
|
|
|
<div class="gh-main-section">
|
|
|
|
<h4 class="gh-main-section-header small">Access and payments</h4>
|
|
|
|
</div>
|
2021-05-14 17:44:10 +03:00
|
|
|
<Settings::MembersSubscriptionAccess />
|
|
|
|
<Settings::MembersDefaultPostAccess />
|
2021-03-29 14:49:09 +03:00
|
|
|
</section>
|
|
|
|
|
|
|
|
{{#if this.showLeaveSettingsModal}}
|
|
|
|
<GhFullscreenModal
|
|
|
|
@modal="leave-settings"
|
|
|
|
@confirm={{this.confirmLeave}}
|
|
|
|
@close={{this.cancelLeave}}
|
|
|
|
@modifier="action wide"
|
|
|
|
/>
|
|
|
|
{{/if}}
|
2021-05-17 10:58:15 +03:00
|
|
|
{{#if this.showPortalSettings}}
|
|
|
|
<GhFullscreenModal @modal="portal-settings"
|
|
|
|
@model={{hash
|
|
|
|
openStripeSettings=(action "openStripeSettings")
|
|
|
|
}}
|
|
|
|
@close={{action "closePortalSettings"}}
|
|
|
|
@modifier="full-overlay portal-settings" />
|
|
|
|
{{/if}}
|
2021-03-29 14:49:09 +03:00
|
|
|
</section>
|