Ghost/ghost/admin/app/components/gh-members-no-members.hbs
Jono M 1f2dbc95f9
Updated links to old settings to link to AdminX (#18352)
refs https://github.com/TryGhost/Product/issues/3832

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
copilot:summary
2023-09-26 10:33:00 +00:00

22 lines
1.2 KiB
Handlebars

<div class="gh-members-empty">
{{svg-jar "members-placeholder" class="gh-members-placeholder"}}
<h4>Start building your audience</h4>
{{#if (not-eq this.settings.membersSignupAccess "none")}}
<p>Use memberships to allow your readers to sign up and subscribe to your content.</p>
<button class="gh-btn gh-btn-green" type="button" {{on "click" this.addYourself}} data-test-button="add-yourself">
<span>Add yourself as a member to test</span>
</button>
<p class="gh-members-empty-secondary-cta">Have members already? <LinkTo @route="member.new">Add them manually</LinkTo> or <LinkTo @route="members.import">import from CSV</LinkTo></p>
{{else}}
<p>Memberships have been disabled. Adjust your Subscription Access settings to start adding members.</p>
{{#if (feature "adminXSettings")}}
<LinkTo @route="settings-x.settings-x" @model="access" class="gh-btn gh-btn-green">
<span>Membership settings</span>
</LinkTo>
{{else}}
<LinkTo @route="settings.membership" class="gh-btn gh-btn-green">
<span>Membership settings</span>
</LinkTo>
{{/if}}
{{/if}}
</div>