Refined product list on member details screen

- updated subscription list for multiple subscriptions
This commit is contained in:
Peter Zimon 2021-05-05 14:06:19 +02:00
parent 3b1beef636
commit 7127596684
2 changed files with 11 additions and 46 deletions

View File

@ -119,51 +119,6 @@
</div>
</div>
{{!-- {{#if this.canShowStripeInfo}}
{{#if this.customer}}
<h4 class="gh-main-section-header small bn">Stripe info</h4>
<div class="gh-main-section-content grey">
<section class="gh-member-stripe-info flex flex-column flex-row-ns items-start justify-between">
<div class="flex items-start w-50">
<div class="flex-auto">
<table class="gh-member-stripe-table gh-cp-table">
<tr class="gh-member-stripe-row">
<td class="gh-member-stripe-label">Name:</td>
<td class="gh-member-stripe-data">
{{#if this.customer.name}}
{{this.customer.name}}
{{else}}
<span class="midgrey-l2">No name</span>
{{/if}}
</td>
</tr>
</table>
</div>
</div>
<div class="flex items-start w-50">
<div class="flex-auto">
<table class="gh-member-stripe-table gh-cp-table">
<tr class="gh-member-stripe-row">
<td class="gh-member-stripe-label">Email:</td>
<td class="gh-member-stripe-data gh-member-stripe-email">
{{#if this.customer.email}}
{{this.customer.email}}
{{else}}
<span class="midgrey-l2">No email</span>
{{/if}}
</td>
</tr>
</table>
</div>
</div>
</section>
<div>
</div>
</div>
{{/if}}
{{/if}} --}}
<h4 class="gh-main-section-header small bn">Products</h4>
{{#unless this.products}}

View File

@ -1610,6 +1610,12 @@ p.gh-members-import-errordetail:first-of-type {
font-size: 1.2rem;
}
.gh-memberproduct-subscription:not(:first-of-type) {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--whitegrey);
}
.gh-memberproduct-archived .gh-memberproduct-name {
opacity: 0.5;
}
@ -1667,10 +1673,14 @@ p.gh-members-import-errordetail:first-of-type {
.gh-memberproduct-subscription .action-menu {
position: absolute;
top: 0;
top: -4px;
right: 0;
}
.gh-memberproduct-subscription:not(:first-of-type) .action-menu {
top: 18px;
}
.gh-memberproduct-subscription .action-menu > .gh-btn span {
height: 28px;
}