0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

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
This commit is contained in:
Jono M 2023-09-26 11:33:00 +01:00 committed by GitHub
parent d51322c95b
commit 1f2dbc95f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 6 deletions

View file

@ -9,8 +9,14 @@
<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.membership" class="gh-btn gh-btn-green">
<span>Membership settings</span>
</LinkTo>
{{#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>

View file

@ -30,9 +30,15 @@
<div class="gh-offers-list-cta missing-tiers">
{{svg-jar "discount-bubble" class="discount-bubble"}}
<h4>You must have an active tier to create offers</h4>
<LinkTo @route="settings.membership" class="gh-btn gh-btn-green">
<span>Manage tiers</span>
</LinkTo>
{{#if (feature "adminXSettings")}}
<LinkTo @route="settings-x.settings-x" @model="tiers" class="gh-btn gh-btn-green">
<span>Manage tiers</span>
</LinkTo>
{{else}}
<LinkTo @route="settings.membership" class="gh-btn gh-btn-green">
<span>Manage tiers</span>
</LinkTo>
{{/if}}
</div>
{{else if (and this.offersExist this.filteredOffers.length)}}
<table class="gh-list gh-offers-list" data-test-offers-list>