2022-03-21 21:12:02 +03:00
|
|
|
<section>
|
|
|
|
{{#if this.areMembersEnabled}}
|
2022-03-22 11:58:42 +03:00
|
|
|
<Dashboard::MembersGraphs />
|
2022-03-21 21:02:57 +03:00
|
|
|
|
2022-03-21 21:12:02 +03:00
|
|
|
{{#if this.hasPaidTiers}}
|
|
|
|
<article class="gh-dashboard-box">
|
|
|
|
These are some paid members related graphs
|
|
|
|
</article>
|
|
|
|
{{/if}}
|
2022-03-21 21:02:57 +03:00
|
|
|
{{/if}}
|
|
|
|
|
2022-03-21 21:12:02 +03:00
|
|
|
{{#if this.areNewslettersEnabled}}
|
|
|
|
<article class="gh-dashboard-box">
|
|
|
|
These are newsletter related graphs
|
|
|
|
</article>
|
|
|
|
{{/if}}
|
|
|
|
</section>
|
2022-03-21 21:02:57 +03:00
|
|
|
|
2022-03-21 21:12:02 +03:00
|
|
|
<div class="gh-main-section prototype-panel">
|
2022-03-21 21:02:57 +03:00
|
|
|
<h4 class="gh-main-section-header small bn">Prototype control panel</h4>
|
|
|
|
<div class="gh-expandable">
|
|
|
|
<div class="gh-expandable-block">
|
|
|
|
<div class="gh-expandable-header">
|
|
|
|
<div>
|
|
|
|
<h4 class="gh-expandable-title">Has paid tiers</h4>
|
|
|
|
<p class="gh-expandable-description">
|
|
|
|
Paid memberships
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="for-switch">
|
|
|
|
<label class="switch">
|
2022-03-22 11:58:42 +03:00
|
|
|
<Input @type="checkbox" @checked={{this.mockPaidTiers}} />
|
2022-03-21 21:02:57 +03:00
|
|
|
<span class="input-toggle-component"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gh-expandable-block">
|
|
|
|
<div class="gh-expandable-header">
|
|
|
|
<div>
|
|
|
|
<h4 class="gh-expandable-title">Stripe connected</h4>
|
|
|
|
<p class="gh-expandable-description">
|
|
|
|
Mock that Stripe is enabled
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="for-switch">
|
|
|
|
<label class="switch">
|
2022-03-22 11:58:42 +03:00
|
|
|
<Input @type="checkbox" @checked={{this.mockStripeEnabled}} />
|
2022-03-21 21:02:57 +03:00
|
|
|
<span class="input-toggle-component"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gh-expandable-block">
|
|
|
|
<div class="gh-expandable-header">
|
|
|
|
<div>
|
|
|
|
<h4 class="gh-expandable-title">Newsletters enabled</h4>
|
|
|
|
<p class="gh-expandable-description">
|
|
|
|
All email related charts shown
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="for-switch">
|
|
|
|
<label class="switch">
|
2022-03-22 11:58:42 +03:00
|
|
|
<Input @type="checkbox" @checked={{this.mockNewslettersEnabled}} />
|
2022-03-21 21:02:57 +03:00
|
|
|
<span class="input-toggle-component"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gh-expandable-block">
|
|
|
|
<div class="gh-expandable-header">
|
|
|
|
<div>
|
|
|
|
<h4 class="gh-expandable-title">Members enabled</h4>
|
|
|
|
<p class="gh-expandable-description">
|
|
|
|
Setting subscription access to other value than 'Nobody'
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="for-switch">
|
|
|
|
<label class="switch">
|
2022-03-22 11:58:42 +03:00
|
|
|
<Input @type="checkbox" @checked={{this.mockMembersEnabled}} />
|
2022-03-21 21:02:57 +03:00
|
|
|
<span class="input-toggle-component"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|