From d8d97d4d829a868c57a512677bc3770e30476f42 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 15 Aug 2020 19:41:25 -0500 Subject: [UI] Exclude Mentions tab on own profile --- app/views/accounts/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/accounts/show.html.haml') diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index 461262f60..3400bfcd5 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -30,7 +30,7 @@ .account__section-headline = active_link_to t('accounts.posts_tab_heading'), short_account_url(@account) = active_link_to t('accounts.threads'), short_account_threads_url(@account) - - if @account.present? + - if current_account.present? && @account.id != current_account.id = active_link_to t('accounts.mentions'), short_account_mentions_url(@account) - if @account.show_replies? = active_link_to t('accounts.posts_with_replies'), short_account_with_replies_url(@account) -- cgit