debian-mirror-gitlab/app/views/admin/dashboard/stats.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
834 B
Text
Raw Normal View History

2020-04-22 19:07:51 +05:30
- page_title s_('AdminArea|Users statistics')
2021-12-11 22:18:48 +05:30
%h3.gl-my-6
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Users statistics')
2023-03-17 16:20:25 +05:30
= render 'admin/dashboard/stats_users_table', user_statistics: @users_statistics
%p.gl-font-weight-bold.gl-mt-8
= s_('AdminArea|Totals')
2020-10-24 23:57:45 +05:30
%table.table.gl-text-gray-500
2023-03-17 16:20:25 +05:30
= render_if_exists 'admin/dashboard/stats_active_users_row', users_statistics: @users_statistics
2020-04-22 19:07:51 +05:30
%tr.bg-gray-light.gl-text-gray-900
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
%strong
= s_('AdminArea|Blocked users')
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
2020-04-22 19:07:51 +05:30
%strong
2021-12-11 22:18:48 +05:30
= @users_statistics&.blocked
2020-04-22 19:07:51 +05:30
%tr.bg-gray-light.gl-text-gray-900
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
%strong
= s_('AdminArea|Total users')
2023-03-17 16:20:25 +05:30
%span
(#{s_('AdminArea|active users + blocked users')})
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
2020-04-22 19:07:51 +05:30
%strong
2021-12-11 22:18:48 +05:30
= @users_statistics&.total