mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Re-enabled Stripe disconnect for Administrators
Refs.7394df6137
e52bdf88f9
We have temporarily disabled Stripe disconnect for Administrators to avoid hitting an API endpoint. Now that the API is updated, disconnect is re-enabled for Owner and Admins.
This commit is contained in:
parent
13d2aefb5c
commit
24022e3932
@ -154,7 +154,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="gh-portal-setting-no-stripe">
|
<div class="gh-portal-setting-no-stripe">
|
||||||
You need to <button class="gh-btn gh-btn-link black {{if (not this.session.user.isOwnerOnly) "disabled"}}" {{on "click" (action "openStripeSettings")}}>connect to Stripe</button> to take payments
|
You need to <button class="gh-btn gh-btn-link black {{if (not this.session.user.isAdmin) "disabled"}}" {{on "click" (action "openStripeSettings")}}>connect to Stripe</button> to take payments
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
<div class="gh-setting-members-tierscontainer">
|
<div class="gh-setting-members-tierscontainer">
|
||||||
<div class="gh-settings-members-tiersheader">
|
<div class="gh-settings-members-tiersheader">
|
||||||
<h4 class="gh-main-section-header small bn">Membership tiers</h4>
|
<h4 class="gh-main-section-header small bn">Membership tiers</h4>
|
||||||
{{#if this.session.user.isOwnerOnly}}
|
{{#if this.session.user.isAdmin}}
|
||||||
<button type="button" class="gh-btn gh-btn-outline gh-btn-stripe-status {{if this.isConnectDisallowed "disabled"}} {{if this.settings.stripeConnectAccountId "connected" ""}}" {{on "click" this.openStripeConnect}}>
|
<button type="button" class="gh-btn gh-btn-outline gh-btn-stripe-status {{if this.isConnectDisallowed "disabled"}} {{if this.settings.stripeConnectAccountId "connected" ""}}" {{on "click" this.openStripeConnect}}>
|
||||||
<span>
|
<span>
|
||||||
{{if this.settings.stripeConnectAccountId "Connected to Stripe" "Stripe not connected"}}
|
{{if this.settings.stripeConnectAccountId "Connected to Stripe" "Stripe not connected"}}
|
||||||
|
Loading…
Reference in New Issue
Block a user