Ghost/ghost/admin/app/components/modal-stripe-connect.hbs

29 lines
954 B
Handlebars
Raw Normal View History

2021-05-17 18:14:38 +03:00
<header class="modal-header" data-test-modal="webhook-form">
<h1 data-test-text="title">Connect with Stripe</h1>
</header>
<button class="close" href title="Close" {{action "closeModal"}} {{action (optional this.noop) on="mouseDown"}}>
{{svg-jar "close"}}
</button>
<form>
<div class="modal-body" {{did-insert this.updateSuccessModifier}}>
2021-05-17 18:14:38 +03:00
<GhMembersPaymentsSetting
@setStripeConnectIntegrationTokenSetting={{this.setStripeConnectIntegrationTokenSetting}}
@onConnected={{this.updateSuccessModifier}}
@onDisconnected={{this.updateSuccessModifier}}
2021-05-17 18:14:38 +03:00
/>
</div>
</form>
<div class="modal-footer">
{{#if this.settings.stripeConnectAccountId}}
<button
class="gh-btn gh-btn-black"
{{action "closeModal"}}
{{action (optional this.noop) on="mouseDown"}}
data-test-button="cancel-webhook"
>
<span>OK</span>
</button>
{{/if}}
</div>