Change number_to_human calls to always use 3-digits precision (#16469)

Fixes #16435
This commit is contained in:
Claire
2021-07-07 21:13:08 +02:00
committed by GitHub
parent 225c6582d1
commit e2844b7e58
14 changed files with 44 additions and 33 deletions

View File

@ -7,10 +7,10 @@
%tr
%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?