Ghost/ghost/admin/app/components/gh-members-no-members.hbs
Ronald Langeveld 4dc503e9e5
🐛 Fixed broken link to subscription settings (#20651)
no issue

- Fixed a broken link when navigating from Members list to subscription
access settings.
2024-07-24 09:28:32 +00:00

16 lines
989 B
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>
<LinkTo @route="settings-x.settings-x" @model="members" class="gh-btn gh-btn-green">
<span>Membership settings</span>
</LinkTo>
{{/if}}
</div>