mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
8af605babe
refs: https://github.com/TryGhost/Team/issues/1594 - has new loading checks to see if there are 0 members - has a blurred overlay box that works over the top of the anchor chart - styles are still not perfect but work well enough for the mo
31 lines
1.5 KiB
Handlebars
31 lines
1.5 KiB
Handlebars
<section class="gh-dashboard5-section gh-dashboard5-overview {{unless this.isTotalMembersMoreThanZero 'is-hidden'}}">
|
|
<article {{did-insert this.loadCharts}} class="gh-dashboard5-box is-secondary">
|
|
<div class="gh-dashboard5-columns">
|
|
<div class="gh-dashboard5-column">
|
|
<Dashboard::v5::Parts::Metric
|
|
@label={{gh-pluralize this.totalMembers "Total member" without-count=true}}
|
|
@value={{this.totalMembersFormatted}}
|
|
@trends={{this.hasTrends}}
|
|
@percentage={{this.totalMembersTrend}}
|
|
@large={{true}} />
|
|
</div>
|
|
<div class="gh-dashboard5-column">
|
|
<Dashboard::v5::Parts::Metric
|
|
@label={{gh-pluralize this.paidMembers "Paid member" without-count=true}}
|
|
@value={{this.paidMembersFormatted}}
|
|
@trends={{this.hasTrends}}
|
|
@percentage={{this.paidMembersTrend}}
|
|
@large={{true}} />
|
|
</div>
|
|
<div class="gh-dashboard5-column">
|
|
<Dashboard::v5::Parts::Metric
|
|
@label={{gh-pluralize this.freeMembers "Free member" without-count=true}}
|
|
@value={{this.freeMembersFormatted}}
|
|
@trends={{this.hasTrends}}
|
|
@percentage={{this.freeMembersTrend}}
|
|
@large={{true}} />
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</section>
|