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

76 lines
2.3 KiB
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')
2020-10-24 23:57:45 +05:30
%table.table.gl-text-gray-500
2020-04-22 19:07:51 +05:30
%tr
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Users without a Group and Project')
= render_if_exists 'admin/dashboard/included_free_in_license_tooltip'
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
= @users_statistics&.without_groups_and_projects
= render_if_exists 'admin/dashboard/minimal_access_stats_row', users_statistics: @users_statistics
2020-04-22 19:07:51 +05:30
%tr
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Users with highest role')
%strong
= s_('AdminArea|Guest')
= render_if_exists 'admin/dashboard/included_free_in_license_tooltip'
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
= @users_statistics&.with_highest_role_guest
2020-04-22 19:07:51 +05:30
%tr
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Users with highest role')
%strong
= s_('AdminArea|Reporter')
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
= @users_statistics&.with_highest_role_reporter
2020-04-22 19:07:51 +05:30
%tr
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Users with highest role')
%strong
= s_('AdminArea|Developer')
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
= @users_statistics&.with_highest_role_developer
2020-04-22 19:07:51 +05:30
%tr
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Users with highest role')
%strong
= s_('AdminArea|Maintainer')
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
= @users_statistics&.with_highest_role_maintainer
2020-04-22 19:07:51 +05:30
%tr
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Users with highest role')
%strong
= s_('AdminArea|Owner')
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
= @users_statistics&.with_highest_role_owner
2020-04-22 19:07:51 +05:30
%tr
2021-12-11 22:18:48 +05:30
%td.gl-p-5!
2020-04-22 19:07:51 +05:30
= s_('AdminArea|Bots')
2021-12-11 22:18:48 +05:30
%td.gl-text-right{ class: 'gl-p-5!' }
= @users_statistics&.bots
2021-04-17 20:07:23 +05:30
= render_if_exists 'admin/dashboard/billable_users_row'
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
2021-04-17 20:07:23 +05:30
= s_('AdminArea|Active 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&.active
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')
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