Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stats.html.haml « dashboard « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78707235cb57b12fa3186fb179a80433131208b6 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
- page_title s_('AdminArea|Users statistics')

%h3.my-4
  = s_('AdminArea|Users statistics')
%table.table.gl-text-gray-500
  %tr
    %td.p-3
      = s_('AdminArea|Users without a Group and Project')
      = render_if_exists 'admin/dashboard/included_free_in_license_tooltip'
    %td.p-3.text-right
      = @users_statistics&.without_groups_and_projects.to_i
  %tr
    %td.p-3
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Guest')
      = render_if_exists 'admin/dashboard/included_free_in_license_tooltip'
    %td.p-3.text-right
      = @users_statistics&.with_highest_role_guest.to_i
  %tr
    %td.p-3
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Reporter')
    %td.p-3.text-right
      = @users_statistics&.with_highest_role_reporter.to_i
  %tr
    %td.p-3
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Developer')
    %td.p-3.text-right
      = @users_statistics&.with_highest_role_developer.to_i
  %tr
    %td.p-3
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Maintainer')
    %td.p-3.text-right
      = @users_statistics&.with_highest_role_maintainer.to_i
  %tr
    %td.p-3
      = s_('AdminArea|Users with highest role')
      %strong
        = s_('AdminArea|Owner')
    %td.p-3.text-right
      = @users_statistics&.with_highest_role_owner.to_i
  %tr
    %td.p-3
      = s_('AdminArea|Bots')
    %td.p-3.text-right
      = @users_statistics&.bots.to_i

  %tr.bg-gray-light.gl-text-gray-900
    %td.p-3
      %strong
        = s_('AdminArea|Active users')
        = render_if_exists 'admin/dashboard/billable_users_text'
    %td.p-3.text-right
      %strong
        = @users_statistics&.active.to_i
  %tr.bg-gray-light.gl-text-gray-900
    %td.p-3
      %strong
        = s_('AdminArea|Blocked users')
    %td.p-3.text-right
      %strong
        = @users_statistics&.blocked.to_i
  %tr.bg-gray-light.gl-text-gray-900
    %td.p-3
      %strong
        = s_('AdminArea|Total users')
    %td.p-3.text-right
      %strong
        = @users_statistics&.total.to_i