about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-15 03:26:55 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:18 -0500
commitdb8e5524db15e19c16b63943ada83b3ac7b75ec6 (patch)
tree6f366cef23a31194f51494a3c2da8287ea7b15dd /app/views
parent8efbea953c436af514f6b39eb22316100e522c90 (diff)
[Profiles] Add category filters
Diffstat (limited to 'app/views')
-rw-r--r--app/views/accounts/_header.html.haml2
-rw-r--r--app/views/accounts/show.html.haml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/accounts/_header.html.haml b/app/views/accounts/_header.html.haml
index 33a144ed2..27a29c061 100644
--- a/app/views/accounts/_header.html.haml
+++ b/app/views/accounts/_header.html.haml
@@ -13,7 +13,7 @@
             = fa_icon('lock') if account.locked?
       .public-account-header__tabs__tabs
         .details-counters
-          .counter{ class: active_nav_class(short_account_url(account), short_account_with_replies_url(account), short_account_media_url(account)) }
+          .counter{ class: active_nav_class(short_account_url(account), short_account_threads_url(account), short_account_with_replies_url(account), short_account_reblogs_url(account), short_account_mentions_url(account), short_account_media_url(account)) }
             = link_to short_account_url(account), class: 'u-url u-uid', title: number_with_delimiter(account.statuses_count) do
               %span.counter-label= t('accounts.posts', count: account.statuses_count)
 
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index 9eda36f1e..461262f60 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -29,9 +29,13 @@
 
       .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?
+          = 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)
         = active_link_to t('accounts.media'), short_account_media_url(@account)
+        = active_link_to t('accounts.reblogs'), short_account_reblogs_url(@account)
 
       - if user_signed_in? && @account.blocking?(current_account)
         .nothing-here.nothing-here--under-tabs= t('accounts.unavailable')