about summary refs log tree commit diff
path: root/app/views/following_accounts/index.html.haml
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-05-18 07:53:04 -0500
committerDavid Yip <yipdw@member.fsf.org>2018-05-18 08:47:10 -0500
commite0eebba46192e5ef2050347069c4098d33e9ec54 (patch)
treee58d15f7bd6d5c5f5ce53d880a7ad89bf3faaab2 /app/views/following_accounts/index.html.haml
parent4c0770d6c8dac8177b8891a6fb97ccf440100fc2 (diff)
parent57b503d4ef0754e4651eae26b628cba60e1ab4e9 (diff)
Merge remote-tracking branch 'origin/master' into merge-upstream
  Conflicts:
 	app/controllers/follower_accounts_controller.rb
 	app/controllers/following_accounts_controller.rb
 	app/controllers/settings/preferences_controller.rb
 	app/lib/user_settings_decorator.rb
 	app/models/user.rb
 	config/locales/simple_form.en.yml
Diffstat (limited to 'app/views/following_accounts/index.html.haml')
-rw-r--r--app/views/following_accounts/index.html.haml5
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)