counters for admin account

This commit is contained in:
Baptiste Lemoine 2019-10-15 15:55:54 +02:00
parent ade7ba7bcd
commit 8f3b2f6749
1 changed files with 4 additions and 4 deletions

View File

@ -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