Files
zulip/static/templates/subscription_count.hbs
Gittenburg 20bf8f41d9 streams: Format subscriber count according to browser locale.
If a channel has a thousand subscribers this commit results in the count
being displayed with a thousands separator, e.g. with English locale you
get 1,000 instead of 1000.
2020-07-06 11:27:43 -07:00

7 lines
241 B
Handlebars

<i class="fa fa-user-o" aria-hidden="true"></i>
{{#if can_access_subscribers}}
<span class="subscriber-count-text">{{numberFormat subscriber_count}}</span>
{{else}}
<i class="subscriber-count-lock fa fa-lock" aria-hidden="true"></i>
{{/if}}