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

29 lines
866 B
Handlebars
Raw Normal View History

2021-05-17 18:14:38 +03:00
{{#unless this.settings.stripeConnectAccountId}}
<header class="modal-header" data-test-modal="webhook-form">
<h1 data-test-text="title">Connect with Stripe</h1>
</header>
{{/unless}}
<button class="close" href title="Close" {{action "closeModal"}} {{action (optional this.noop) on="mouseDown"}}>
{{svg-jar "close"}}
</button>
<form>
<div class="modal-body">
<GhMembersPaymentsSetting
@setStripeConnectIntegrationTokenSetting={{this.setStripeConnectIntegrationTokenSetting}}
/>
</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>