mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
dc9c812d9c
issue https://github.com/TryGhost/Team/issues/857 - The goal is to avoid testing for the owner role only is cases where we should be testing for the owner or admin role - `isOwner` => `isOwnerOnly` - `isAdmin` => `isAdminOnly` - `isOwnerOrAdmin` => `isAdmin` (concerns now both Owner and Admins)
9 lines
319 B
Handlebars
9 lines
319 B
Handlebars
{{#if this.session.user.isAdmin}}
|
|
<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}} |