summaryrefslogtreecommitdiff
path: root/app/views/admin/dashboard/_stats_users_table.html.haml
blob: 473384b89615c7c35ca39f117e809079c874ad28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%table.table.gl-text-gray-500
  %tr
    %td.gl-p-5!
      = s_('AdminArea|Users without a Group and Project')
      = render_if_exists 'admin/dashboard/included_free_in_license_tooltip'
    %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
  %tr
    %td.gl-p-5!
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Reporter')
    %td.gl-text-right{ class: 'gl-p-5!' }
      = @users_statistics&.with_highest_role_reporter
  %tr
    %td.gl-p-5!
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Developer')
    %td.gl-text-right{ class: 'gl-p-5!' }
      = @users_statistics&.with_highest_role_developer
  %tr
    %td.gl-p-5!
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Maintainer')
    %td.gl-text-right{ class: 'gl-p-5!' }
      = @users_statistics&.with_highest_role_maintainer
  %tr
    %td.gl-p-5!
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Owner')
    %td.gl-text-right{ class: 'gl-p-5!' }
      = @users_statistics&.with_highest_role_owner
  %tr
    %td.gl-p-5!
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Guest')
      = render_if_exists 'admin/dashboard/included_free_in_license_tooltip'
    %td.gl-text-right{ class: 'gl-p-5!' }
      = @users_statistics&.with_highest_role_guest
  %tr
    %td.gl-p-5!
      = s_('AdminArea|Bots')
    %td.gl-text-right{ class: 'gl-p-5!' }
      = @users_statistics&.bots