mirror of
https://ghfast.top/https://github.com/discourse/discourse-follow.git
synced 2026-07-16 11:46:25 +08:00
This commit hides/shows the Followers/Following counts shown on user cards and profiles based on whether the current user can or can't see the followers/following pages under user profile (controlled by the `follow_(following|follower)_visible` site settings).
6 lines
262 B
Handlebars
6 lines
262 B
Handlebars
{{#if user.total_following}}
|
|
<h3>{{i18n "user.following.label"}}<span class="value">{{user.total_following}}</span></h3>
|
|
{{/if}}
|
|
{{#if user.total_followers}}
|
|
<h3>{{i18n "user.followers.label"}}<span class="value">{{user.total_followers}}</span></h3>
|
|
{{/if}}
|