about summary refs log tree commit diff
path: root/app/views/accounts
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-25 12:37:40 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit9d4f42fb893c2129aa9f7aa9d012112af3646cae (patch)
treee64554e653d02195b5a220974ff3f635c7892cb4 /app/views/accounts
parentfb449f273a04545043a792b9fa63fdcc5b6b60b1 (diff)
Add option to hide public replies from profile
Diffstat (limited to 'app/views/accounts')
-rw-r--r--app/views/accounts/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index e4223119c..fc9eb04e6 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -30,7 +30,8 @@
 
       .account__section-headline
         = active_link_to t('accounts.posts_tab_heading'), short_account_url(@account)
-        = active_link_to t('accounts.posts_with_replies'), short_account_with_replies_url(@account)
+        - if @account.replies
+          = active_link_to t('accounts.posts_with_replies'), short_account_with_replies_url(@account)
         = active_link_to t('accounts.media'), short_account_media_url(@account)
 
       - if user_signed_in? && @account.blocking?(current_account)