Added static HTML design for showing status/tier in members table

refs https://github.com/TryGhost/Team/issues/1035
This commit is contained in:
Djordje Vlaisavljevic 2022-02-14 12:57:56 +01:00
parent 8b5ef4a7d7
commit aed5da5d7a
2 changed files with 14 additions and 0 deletions

View File

@ -22,7 +22,18 @@
</div>
</div>
</LinkTo>
{{#if (feature "membersTableStatus")}}
{{!-- One line: Free tier, or premium tier if there is only one premium tier --}}
{{!-- <LinkTo @route="member" @model={{@member}} class="gh-list-data">
<div>Free</div>
</LinkTo>--}}
{{!-- Two lines: Premium tier if there are multiple premium tiers --}}
{{!-- <LinkTo @route="member" @model={{@member}} class="gh-list-data">
<div>Paid</div>
<div class="midgrey">Bronze</div>
</LinkTo> --}}
{{/if}}
{{#if @newsletterEnabled}}
{{#if (feature "emailAnalytics")}}
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8 {{unless @member.name "gh-members-list-open-rate-noname"}}">

View File

@ -111,6 +111,9 @@
<thead>
<tr>
<th>{{this.listHeader}}</th>
{{#if (feature "membersTableStatus")}}
<th>Status</th>
{{/if}}
{{#if (not-eq this.settings.editorDefaultEmailRecipients "disabled")}}
<th>Open rate</th>
{{/if}}