2019-10-02 14:35:50 +03:00
|
|
|
|
<h4 class="midlightgrey f-small fw5 ttu">Basic info</h4>
|
2019-10-03 14:46:36 +03:00
|
|
|
|
<div class="pa5 pb0 pt4 br4 shadow-1 bg-grouped-table mt2 flex flex-column flex-row-ns items-start justify-between gh-tag-basic-settings-form">
|
|
|
|
|
<div class="flex flex-column items-start mr8 w-100 w-50-ns">
|
2019-10-02 07:00:03 +03:00
|
|
|
|
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated property="name"}}
|
|
|
|
|
<label for="member-name">Name</label>
|
|
|
|
|
{{gh-text-input
|
2019-10-02 14:35:50 +03:00
|
|
|
|
disabled=true
|
2019-10-02 07:00:03 +03:00
|
|
|
|
id="member-name"
|
|
|
|
|
name="name"
|
|
|
|
|
value=(readonly scratchName)
|
|
|
|
|
tabindex="1"
|
|
|
|
|
input=(action (mut scratchName) value="target.value")
|
|
|
|
|
focus-out=(action 'setProperty' 'name' scratchName)}}
|
2019-10-03 20:42:33 +03:00
|
|
|
|
{{gh-error-message errors=member.errors property="name"}}
|
2019-10-02 07:00:03 +03:00
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
|
|
|
|
|
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated property="email"}}
|
|
|
|
|
<label for="member-email">Email</label>
|
|
|
|
|
{{gh-text-input
|
2019-10-02 14:35:50 +03:00
|
|
|
|
disabled=true
|
|
|
|
|
value=(readonly scratchEmail)
|
|
|
|
|
id="member-email"
|
|
|
|
|
name="email"
|
|
|
|
|
tabindex="2"
|
|
|
|
|
focus-out=(action 'setProperty' 'email' scratchEmail)
|
|
|
|
|
input=(action (mut scratchEmail) value="target.value")}}
|
2019-10-02 07:00:03 +03:00
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
|
2019-10-02 14:35:50 +03:00
|
|
|
|
</div>
|
2019-10-03 14:46:36 +03:00
|
|
|
|
<div class="mb6 mb0-ns w-100 w-50-ns">
|
2019-10-03 20:42:33 +03:00
|
|
|
|
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated property="note"}}
|
2019-10-02 14:35:50 +03:00
|
|
|
|
<label for="member-description">Note</label>
|
|
|
|
|
{{gh-textarea
|
|
|
|
|
disabled=true
|
|
|
|
|
id="member-description"
|
|
|
|
|
name="description"
|
2019-10-03 14:46:36 +03:00
|
|
|
|
class="gh-member-details-textarea"
|
2019-10-02 14:35:50 +03:00
|
|
|
|
tabindex="3"
|
|
|
|
|
value=(readonly scratchDescription)
|
|
|
|
|
input=(action (mut scratchDescription) value="target.value")
|
|
|
|
|
focus-out=(action 'setProperty' 'description' scratchDescription)
|
|
|
|
|
}}
|
2019-10-03 20:42:33 +03:00
|
|
|
|
{{gh-error-message errors=member.errors property="description"}}
|
2019-10-02 14:35:50 +03:00
|
|
|
|
<p>Maximum: <b>500</b> characters. You’ve used {{gh-count-down-characters scratchDescription 500}}</p>
|
2019-10-02 07:00:03 +03:00
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
</div>
|
2019-10-03 20:42:33 +03:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4 class="midlightgrey f-small fw5 ttu mt15">Stripe info</h4>
|
|
|
|
|
<div class="pa5 pb0 pt4 br4 shadow-1 bg-grouped-table mt2 flex flex-column flex-row-ns items-start justify-between gh-tag-basic-settings-form">
|
|
|
|
|
{{#if subscription}}
|
|
|
|
|
<div class="flex flex-column items-start mr8 w-100 w-50-ns">
|
|
|
|
|
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated}}
|
|
|
|
|
<label for="member-customer-id">Stripe Customer Id</label>
|
|
|
|
|
{{gh-text-input
|
|
|
|
|
disabled=true
|
|
|
|
|
id="member-customer-id"
|
|
|
|
|
name="member-customer-id"
|
|
|
|
|
value=(readonly subscription.customer)
|
|
|
|
|
tabindex="1"}}
|
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
|
|
|
|
|
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated}}
|
|
|
|
|
<label for="member-customer-status">Subscription Status</label>
|
|
|
|
|
{{gh-text-input
|
|
|
|
|
disabled=true
|
|
|
|
|
value=(readonly subscription.status)
|
|
|
|
|
id="member-customer-status"
|
|
|
|
|
name="member-customer-status"
|
|
|
|
|
tabindex="2"}}
|
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="mb6 mb0-ns w-100 w-50-ns">
|
|
|
|
|
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated}}
|
|
|
|
|
<label for="member-plan-name">Subscription plan</label>
|
|
|
|
|
{{gh-text-input
|
|
|
|
|
disabled=true
|
|
|
|
|
value=(readonly subscription.name)
|
|
|
|
|
id="member-plan-name"
|
|
|
|
|
name="member-plan-name"
|
|
|
|
|
tabindex="1"}}
|
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
|
|
|
|
|
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated}}
|
|
|
|
|
<label for="member-plan-renewal">Renewal date</label>
|
|
|
|
|
{{gh-text-input
|
|
|
|
|
disabled=true
|
|
|
|
|
value=(readonly subscription.validUntil)
|
|
|
|
|
id="member-plan-renewal"
|
|
|
|
|
name="member-plan-renewal"
|
|
|
|
|
tabindex="1"}}
|
|
|
|
|
{{/gh-form-group}}
|
|
|
|
|
</div>
|
|
|
|
|
{{else}}
|
|
|
|
|
<div class="flex flex-column items-start mr8 w-100 w-50-ns">
|
|
|
|
|
Non Paid member
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2019-10-02 07:00:03 +03:00
|
|
|
|
</div>
|