diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-07-07 21:13:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 21:13:08 +0200 |
commit | e2844b7e58e1ebdf666c5fecc97a75620da7bddf (patch) | |
tree | cba236467d1ebd6ea655878971841473b8daae44 /app/views/relationships | |
parent | 225c6582d17b8e744c279e254d4e96062afb7a3b (diff) |
Change number_to_human calls to always use 3-digits precision (#16469)
Fixes #16435
Diffstat (limited to 'app/views/relationships')
-rw-r--r-- | app/views/relationships/_account.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/relationships/_account.html.haml b/app/views/relationships/_account.html.haml index f521aff22..0fa3cffb5 100644 --- a/app/views/relationships/_account.html.haml +++ b/app/views/relationships/_account.html.haml @@ -9,10 +9,10 @@ = interrelationships_icon(@relationships, account.id) %td= account_link_to account %td.accounts-table__count.optional - = number_to_human account.statuses_count, strip_insignificant_zeros: true + = friendly_number_to_human account.statuses_count %small= t('accounts.posts', count: account.statuses_count).downcase %td.accounts-table__count.optional - = number_to_human account.followers_count, strip_insignificant_zeros: true + = friendly_number_to_human account.followers_count %small= t('accounts.followers', count: account.followers_count).downcase %td.accounts-table__count - if account.last_status_at.present? |