2021-04-17 20:07:23 +05:30
|
|
|
- add_page_specific_style 'page_bundles/members'
|
2020-10-24 23:57:45 +05:30
|
|
|
- page_title _('Group members')
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2021-03-08 18:12:59 +05:30
|
|
|
.row.gl-mt-3
|
|
|
|
.col-lg-12
|
|
|
|
.gl-display-flex.gl-flex-wrap
|
2021-10-27 15:23:28 +05:30
|
|
|
- if can_admin_group_member?(@group)
|
2022-08-13 15:12:31 +05:30
|
|
|
%h4
|
|
|
|
= _('Group members')
|
|
|
|
%p.gl-w-full.order-md-1
|
|
|
|
= group_member_header_subtext(@group)
|
|
|
|
.gl-display-flex.gl-flex-wrap.gl-align-items-flex-start.gl-ml-auto.gl-md-w-auto.gl-w-full.gl-mt-3
|
|
|
|
.js-invite-group-trigger{ data: { classes: 'gl-md-w-auto gl-w-full', display_text: _('Invite a group') } }
|
|
|
|
.js-invite-members-trigger{ data: { variant: 'confirm',
|
|
|
|
classes: 'gl-md-w-auto gl-w-full gl-md-ml-3 gl-md-mt-0 gl-mt-3',
|
|
|
|
trigger_source: 'group-members-page',
|
|
|
|
display_text: _('Invite members') } }
|
2022-05-07 20:08:51 +05:30
|
|
|
= render 'groups/invite_groups_modal', group: @group
|
|
|
|
= render 'groups/invite_members_modal', group: @group
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2021-03-08 18:12:59 +05:30
|
|
|
= render_if_exists 'groups/group_members/ldap_sync'
|
2019-09-04 21:01:54 +05:30
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
.js-group-members-list-app{ data: { members_data: group_members_app_data(@group,
|
|
|
|
members: @members,
|
|
|
|
invited: @invited_members,
|
2022-06-21 17:19:12 +05:30
|
|
|
access_requests: @requesters,
|
2022-08-13 15:12:31 +05:30
|
|
|
banned: @banned || [],
|
2022-06-21 17:19:12 +05:30
|
|
|
include_relations: @include_relations,
|
|
|
|
search: params[:search_groups]).to_json } }
|
2022-05-07 20:08:51 +05:30
|
|
|
= gl_loading_icon(css_class: 'gl-my-5', size: 'md')
|