|
4 | 4 | .dashboard__counters |
5 | 5 | %div |
6 | 6 | = link_to admin_accounts_url(local: 1, recent: 1) do |
7 | | - .dashboard__counters__num= number_with_delimiter @users_count |
| 7 | + .dashboard__counters__num= number_to_human @users_count, strip_insignificant_zeros: true |
8 | 8 | .dashboard__counters__label= t 'admin.dashboard.total_users' |
9 | 9 | %div |
10 | 10 | %div |
11 | | - .dashboard__counters__num= number_with_delimiter @registrations_week |
| 11 | + .dashboard__counters__num= number_to_human @registrations_week, strip_insignificant_zeros: true |
12 | 12 | .dashboard__counters__label= t 'admin.dashboard.week_users_new' |
13 | 13 | %div |
14 | 14 | %div |
15 | | - .dashboard__counters__num= number_with_delimiter @logins_week |
| 15 | + .dashboard__counters__num= number_to_human @logins_week, strip_insignificant_zeros: true |
16 | 16 | .dashboard__counters__label= t 'admin.dashboard.week_users_active' |
17 | 17 | %div |
18 | 18 | = link_to admin_pending_accounts_path do |
19 | | - .dashboard__counters__num= number_with_delimiter @pending_users_count |
| 19 | + .dashboard__counters__num= number_to_human @pending_users_count, strip_insignificant_zeros: true |
20 | 20 | .dashboard__counters__label= t 'admin.dashboard.pending_users' |
21 | 21 | %div |
22 | 22 | = link_to admin_reports_url do |
23 | | - .dashboard__counters__num= number_with_delimiter @reports_count |
| 23 | + .dashboard__counters__num= number_to_human @reports_count, strip_insignificant_zeros: true |
24 | 24 | .dashboard__counters__label= t 'admin.dashboard.open_reports' |
25 | 25 | %div |
26 | 26 | = link_to admin_tags_path(review: 'pending_review') do |
27 | | - .dashboard__counters__num= number_with_delimiter @pending_tags_count |
| 27 | + .dashboard__counters__num= number_to_human @pending_tags_count, strip_insignificant_zeros: true |
28 | 28 | .dashboard__counters__label= t 'admin.dashboard.pending_tags' |
29 | 29 | %div |
30 | 30 | %div |
31 | | - .dashboard__counters__num= number_with_delimiter @interactions_week |
| 31 | + .dashboard__counters__num= number_to_human @interactions_week, strip_insignificant_zeros: true |
32 | 32 | .dashboard__counters__label= t 'admin.dashboard.week_interactions' |
33 | 33 | %div |
34 | 34 | = link_to sidekiq_url do |
35 | | - .dashboard__counters__num= number_with_delimiter @queue_backlog |
| 35 | + .dashboard__counters__num= number_to_human @queue_backlog, strip_insignificant_zeros: true |
36 | 36 | .dashboard__counters__label= t 'admin.dashboard.backlog' |
37 | 37 |
|
38 | 38 | .dashboard__widgets |
|
0 commit comments