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
272 B
Handlebars
6 lines
272 B
Handlebars
{{#if model.total_following}}
|
|
{{follow-statistic label="user.following.label" total=model.total_following context="profile"}}
|
|
{{/if}}
|
|
{{#if model.total_followers}}
|
|
{{follow-statistic label="user.followers.label" total=model.total_followers context="profile"}}
|
|
{{/if}}
|