diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-27 17:04:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-27 17:04:45 +0200 |
commit | 15093f9113e0eda8a66a7c12bbd92e7e8670da15 (patch) | |
tree | 093c7f8c5c02c2bf0a7c6a28140b6b41934a9fea /app/views | |
parent | f92d991e529686a3bd402b957a2c3727a0094b85 (diff) |
Shorten display of large numbers on public profiles (#4711)
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/accounts/_header.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/accounts/_header.html.haml b/app/views/accounts/_header.html.haml index 8009e903e..a6366b0f3 100644 --- a/app/views/accounts/_header.html.haml +++ b/app/views/accounts/_header.html.haml @@ -37,15 +37,15 @@ .details-counters .counter{ class: active_nav_class(short_account_url(account)) } = link_to short_account_url(account), class: 'u-url u-uid' do - %span.counter-number= number_with_delimiter account.statuses_count + %span.counter-number= number_to_human account.statuses_count %span.counter-label= t('accounts.posts') .counter{ class: active_nav_class(account_following_index_url(account)) } = link_to account_following_index_url(account) do - %span.counter-number= number_with_delimiter account.following_count + %span.counter-number= number_to_human account.following_count %span.counter-label= t('accounts.following') .counter{ class: active_nav_class(account_followers_url(account)) } = link_to account_followers_url(account) do - %span.counter-number= number_with_delimiter account.followers_count + %span.counter-number= number_to_human account.followers_count %span.counter-label= t('accounts.followers') |