mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
cb3b01c020
no issue - the membership setting screen will be covering a lot of areas, having individual settings as discrete components allows for easier re-organisation and cleaner parent templates and controllers
38 lines
1.3 KiB
Handlebars
38 lines
1.3 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>
|
|
Membership
|
|
</h2>
|
|
<section class="view-actions">
|
|
<GhTaskButton
|
|
@buttonText="Save settings"
|
|
@task={{this.saveSettingsTask}}
|
|
@successText="Saved"
|
|
@runningText="Saving"
|
|
@class="gh-btn gh-btn-primary gh-btn-icon"
|
|
data-test-button="save-settings"
|
|
/>
|
|
</section>
|
|
</GhCanvasHeader>
|
|
|
|
<section class="view-container settings-debug">
|
|
<div class="gh-main-section">
|
|
<h4 class="gh-main-section-header small">Access and payments</h4>
|
|
</div>
|
|
<section class="gh-expandable">
|
|
<Settings::MembersSubscriptionAccess />
|
|
<Settings::MembersDefaultPostAccess />
|
|
</section>
|
|
</section>
|
|
|
|
{{#if this.showLeaveSettingsModal}}
|
|
<GhFullscreenModal
|
|
@modal="leave-settings"
|
|
@confirm={{this.confirmLeave}}
|
|
@close={{this.cancelLeave}}
|
|
@modifier="action wide"
|
|
/>
|
|
{{/if}}
|
|
</section> |