2018-03-17 18:26:18 +05:30
|
|
|
- user = local_assigns.fetch(:user, current_user)
|
|
|
|
- access = user&.max_member_access_for_group(group.id)
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
%li.group-row.py-3.gl-align-items-center{ class: "gl-display-flex!" }
|
2020-06-23 00:09:42 +05:30
|
|
|
.avatar-container.rect-avatar.s40.gl-flex-shrink-0
|
|
|
|
= link_to group do
|
|
|
|
= group_icon(group, class: "avatar s40")
|
|
|
|
.gl-min-w-0.gl-flex-grow-1
|
|
|
|
.title
|
|
|
|
= link_to group.full_name, group, class: 'group-name'
|
|
|
|
|
|
|
|
- if access&.nonzero?
|
|
|
|
%span.user-access-role= Gitlab::Access.human_access(access)
|
|
|
|
|
|
|
|
- if group.description.present?
|
|
|
|
.description
|
|
|
|
= markdown_field(group, :description)
|
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
.stats.gl-text-gray-500.gl-flex-shrink-0
|
2020-06-23 00:09:42 +05:30
|
|
|
%span.gl-ml-5
|
2020-10-24 23:57:45 +05:30
|
|
|
= sprite_icon('bookmark', css_class: 'gl-vertical-align-text-bottom')
|
2017-08-17 22:00:37 +05:30
|
|
|
= number_with_delimiter(group.projects.non_archived.count)
|
2016-04-02 18:10:28 +05:30
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
%span.gl-ml-5
|
2020-10-24 23:57:45 +05:30
|
|
|
= sprite_icon('users', css_class: 'gl-vertical-align-text-bottom')
|
2016-04-02 18:10:28 +05:30
|
|
|
= number_with_delimiter(group.users.count)
|
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
%span.gl-ml-5.visibility-icon.has-tooltip{ data: { container: 'body', placement: 'left' }, title: visibility_icon_description(group) }
|
2020-10-24 23:57:45 +05:30
|
|
|
= visibility_level_icon(group.visibility_level)
|