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/about/show.html.haml | |
parent | 225c6582d17b8e744c279e254d4e96062afb7a3b (diff) |
Change number_to_human calls to always use 3-digits precision (#16469)
Fixes #16435
Diffstat (limited to 'app/views/about/show.html.haml')
-rw-r--r-- | app/views/about/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml index 565c4ed59..6ae9e6ae0 100644 --- a/app/views/about/show.html.haml +++ b/app/views/about/show.html.haml @@ -70,10 +70,10 @@ .hero-widget__counters__wrapper .hero-widget__counter - %strong= number_to_human @instance_presenter.user_count, strip_insignificant_zeros: true + %strong= friendly_number_to_human @instance_presenter.user_count %span= t 'about.user_count_after', count: @instance_presenter.user_count .hero-widget__counter - %strong= number_to_human @instance_presenter.active_user_count, strip_insignificant_zeros: true + %strong= friendly_number_to_human @instance_presenter.active_user_count %span = t 'about.active_count_after' %abbr{ title: t('about.active_footnote') } * |