debian-mirror-gitlab/app/views/groups/group_members/index.html.haml

34 lines
1.9 KiB
Text
Raw Normal View History

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
2022-06-21 17:19:12 +05:30
= render_if_exists 'shared/user_over_limit_free_plan_alert', source: @group
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)
2021-03-08 18:12:59 +05:30
.gl-w-half.gl-xs-w-full
%h4
= _('Group members')
%p
= html_escape(_('You can invite a new member to %{strong_start}%{group_name}%{strong_end}.')) % { group_name: @group.name, strong_start: '<strong>'.html_safe, strong_end: '</strong>'.html_safe }
2022-05-07 20:08:51 +05:30
.gl-w-half.gl-xs-w-full
.gl-display-flex.gl-flex-wrap.gl-justify-content-end.gl-mb-3
.js-invite-group-trigger{ data: { classes: 'gl-mt-3 gl-sm-w-auto gl-w-full', display_text: _('Invite a group') } }
.js-invite-members-trigger{ data: { variant: 'confirm',
classes: 'gl-mt-3 gl-sm-w-auto gl-w-full gl-sm-ml-3',
trigger_source: 'group-members-page',
display_text: _('Invite members') } }
= 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,
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')