diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/accounts/_header.html.haml | 2 | ||||
-rw-r--r-- | app/views/accounts/show.html.haml | 4 |
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') |