diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-18 02:26:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 02:26:51 +0200 |
commit | 1e02dc871533de78174b48a6a527f11b0f2bc7ec (patch) | |
tree | 85342796b125279d75c6591ef8b9090a11b8b404 /app/views/following_accounts | |
parent | 919eef309820a421d6f5886b8ae811d3924cea97 (diff) |
Add preference to hide following/followers lists (#7532)
* Add preference to hide following/followers lists - Public pages - ActivityPub collections (does not return pages but does give total) - REST API (unless it's your own) (does not federate) Fix #6901 * Add preference * Add delegation * Fix issue * Fix issue
Diffstat (limited to 'app/views/following_accounts')
-rw-r--r-- | app/views/following_accounts/index.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/following_accounts/index.html.haml b/app/views/following_accounts/index.html.haml index 67f6cfede..8fd95a0b4 100644 --- a/app/views/following_accounts/index.html.haml +++ b/app/views/following_accounts/index.html.haml @@ -7,4 +7,7 @@ = render 'accounts/header', account: @account -= render 'accounts/follow_grid', follows: @follows, accounts: @follows.map(&:target_account) +- if @account.user_hides_network? + = render 'accounts/follow_grid_hidden' +- else + = render 'accounts/follow_grid', follows: @follows, accounts: @follows.map(&:target_account) |