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