mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
d00d1c2052
refs https://github.com/TryGhost/Team/issues/496 - all/free/paid are selectable via the segment select - radio buttons should be kept to 3-4 max - fixed pluralisation of member count below member segment when only 1 member is selected
9 lines
326 B
Handlebars
9 lines
326 B
Handlebars
{{#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}} |