mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
Moved Stripe customer link to subscriptions
- since there can be different Stripe customers for each subscription, it makes more sense to place the customer link together with it
This commit is contained in:
parent
6cf86f431b
commit
abe7857e18
@ -99,23 +99,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</GhFormGroup>
|
||||
|
||||
{{#if (and this.canShowStripeInfo this.customer)}}
|
||||
<div class="gh-member-stripe-info">
|
||||
<h4 class="gh-setting-title m">Stripe customer</h4>
|
||||
<p class="gh-setting-desc">
|
||||
{{#if this.customer.email}}
|
||||
{{this.customer.email}}
|
||||
{{else}}
|
||||
<span class="midgrey-l2">No email</span>
|
||||
{{/if}}
|
||||
–
|
||||
<a href="https://dashboard.stripe.com/customers/{{customer.id}}" target="_blank" rel="noopener">
|
||||
View on Stripe
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -165,9 +148,15 @@
|
||||
</span>
|
||||
</GhDropdownButton>
|
||||
<GhDropdown @name="subscription-menu-{{sub.id}}" @tagName="ul" @classNames="product-actions-menu dropdown-menu dropdown-align-right">
|
||||
<li>
|
||||
<a href="https://dashboard.stripe.com/customers/{{sub.customer.id}}" target="_blank" rel="noopener">
|
||||
View Stripe customer
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<a href="https://dashboard.stripe.com/subscriptions/{{sub.id}}" target="_blank" rel="noopener">
|
||||
View on Stripe
|
||||
View Stripe subscription
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user