Ghost/ghost/admin/app/components/gh-members-segment-count.hbs

9 lines
326 B
Handlebars
Raw Normal View History

{{#if this.session.user.isOwnerOrAdmin}}
<span
class="segment-totals"
{{did-insert (perform this.fetchTotalsTask)}}
{{did-update (perform this.fetchSegmentTotalTask) @segment}}
>
<strong>{{format-number this.segmentTotal}}</strong> {{gh-pluralize this.segmentTotal "member" without-count=true}}
</span>
{{/if}}