From 8f3b2f674992028eed728be468f2b8b6106aa428 Mon Sep 17 00:00:00 2001 From: Baptiste Lemoine Date: Tue, 15 Oct 2019 15:55:54 +0200 Subject: [PATCH] counters for admin account --- app/views/admin/accounts/_account.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/accounts/_account.html.haml b/app/views/admin/accounts/_account.html.haml index 90ea55e4b..18cc36ca3 100644 --- a/app/views/admin/accounts/_account.html.haml +++ b/app/views/admin/accounts/_account.html.haml @@ -21,10 +21,10 @@ = table_link_to 'circle', t('admin.accounts.web'), web_path("accounts/#{account.id}") = table_link_to 'globe', t('admin.accounts.public'), ActivityPub::TagManager.instance.url_for(account) %td - account.user.sign_in_count + = number_to_human account.user.sign_in_count, strip_insignificant_zeros: true %td - account.user.statuses_count + = number_to_human account.user.statuses_count, strip_insignificant_zeros: true %td - account.user.following_count + = number_to_human account.user.following_count, strip_insignificant_zeros: true %td - account.user.followers_count + = number_to_human account.user.followers_count, strip_insignificant_zeros: true