about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-12-14 05:09:14 +0100
committerGitHub <noreply@github.com>2020-12-14 05:09:14 +0100
commita3b5675aa83f7fec4036888e0d94b626ad973f75 (patch)
tree96e095863a3f0cb3b89daee4d2b507f25beea4ec
parent49eb4d4ddf61e25c5aaab89aa630ddd3c7f3c23d (diff)
Change number format on about page from full to shortened (#15327)
-rw-r--r--app/views/about/more.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml
index c2168e1f5..109b5fa86 100644
--- a/app/views/about/more.html.haml
+++ b/app/views/about/more.html.haml
@@ -17,11 +17,11 @@
         .row__information-board
           .information-board__section
             %span= t 'about.user_count_before'
-            %strong= number_with_delimiter @instance_presenter.user_count
+            %strong= number_to_human @instance_presenter.user_count, strip_insignificant_zeros: true
             %span= t 'about.user_count_after', count: @instance_presenter.user_count
           .information-board__section
             %span= t 'about.status_count_before'
-            %strong= number_with_delimiter @instance_presenter.status_count
+            %strong= number_to_human @instance_presenter.status_count, strip_insignificant_zeros: true
             %span= t 'about.status_count_after', count: @instance_presenter.status_count
         .row__mascot
           .landing-page__mascot