2021-08-10 15:11:22 +03:00
|
|
|
{{#if (eq @filterColumn 'label')}}
|
2021-08-13 16:17:07 +03:00
|
|
|
<LinkTo @route="member" @model={{@member}} class="gh-list-data wrap middarkgrey f8">
|
|
|
|
<span class="gh-members-list-labels">{{labels}}</span>
|
2021-08-10 15:11:22 +03:00
|
|
|
</LinkTo>
|
|
|
|
|
2021-08-12 11:03:32 +03:00
|
|
|
{{else if (eq @filterColumn 'status')}}
|
2021-08-13 16:17:07 +03:00
|
|
|
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8">
|
2021-08-10 15:11:22 +03:00
|
|
|
{{#if (not (is-empty @member.status))}}
|
|
|
|
<span class="gh-members-list-open-rate-mobile">{{capitalize @member.status}}</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="midlightgrey">-</span>
|
|
|
|
{{/if}}
|
|
|
|
</LinkTo>
|
|
|
|
|
2021-08-12 11:03:32 +03:00
|
|
|
{{else if (eq @filterColumn 'email_count')}}
|
2021-08-13 16:17:07 +03:00
|
|
|
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8">
|
2021-08-10 15:11:22 +03:00
|
|
|
{{#if (not (is-empty @member.emailCount))}}
|
|
|
|
<span class="gh-members-list-open-rate-mobile">{{@member.emailCount}}</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="midlightgrey">-</span>
|
|
|
|
{{/if}}
|
|
|
|
</LinkTo>
|
|
|
|
|
2021-08-12 11:03:32 +03:00
|
|
|
{{else if (eq @filterColumn 'email_opened_count')}}
|
2021-08-13 16:17:07 +03:00
|
|
|
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8">
|
2021-08-10 15:11:22 +03:00
|
|
|
{{#if (not (is-empty @member.emailOpenedCount))}}
|
|
|
|
<span class="gh-members-list-open-rate-mobile">{{@member.emailOpenedCount}}</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="midlightgrey">-</span>
|
|
|
|
{{/if}}
|
|
|
|
</LinkTo>
|
|
|
|
|
2021-08-12 11:03:32 +03:00
|
|
|
{{else if (eq @filterColumn 'subscribed')}}
|
2021-08-13 16:17:07 +03:00
|
|
|
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8">
|
2021-08-10 15:11:22 +03:00
|
|
|
{{#if (not (is-empty @member.subscribed))}}
|
2021-08-13 17:23:52 +03:00
|
|
|
<span class="gh-members-list-open-rate-mobile">{{if @member.subscribed "Yes" "No"}}</span>
|
2021-08-10 15:11:22 +03:00
|
|
|
{{else}}
|
|
|
|
<span class="midlightgrey">-</span>
|
|
|
|
{{/if}}
|
|
|
|
</LinkTo>
|
2021-08-12 11:03:32 +03:00
|
|
|
{{else if (eq @filterColumn 'subscriptions.status')}}
|
2021-08-13 16:17:07 +03:00
|
|
|
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8">
|
2021-08-16 12:13:23 +03:00
|
|
|
{{#if (not (is-empty this.subscriptionStatus))}}
|
|
|
|
<span class="gh-members-list-open-rate-mobile">{{capitalize this.subscriptionStatus}}</span>
|
2021-08-12 11:03:32 +03:00
|
|
|
{{else}}
|
|
|
|
<span class="midlightgrey">-</span>
|
|
|
|
{{/if}}
|
|
|
|
</LinkTo>
|
|
|
|
{{else if (eq @filterColumn 'subscriptions.plan_interval')}}
|
2021-08-13 16:17:07 +03:00
|
|
|
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8">
|
2021-08-16 12:13:23 +03:00
|
|
|
{{#if (not (is-empty this.billingPeriod))}}
|
|
|
|
<span class="gh-members-list-open-rate-mobile">{{capitalize this.billingPeriod}}</span>
|
2021-08-12 11:03:32 +03:00
|
|
|
{{else}}
|
|
|
|
<span class="midlightgrey">-</span>
|
|
|
|
{{/if}}
|
|
|
|
</LinkTo>
|
2021-08-10 15:11:22 +03:00
|
|
|
{{/if}}
|