diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-22 21:10:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-22 21:10:38 +0300 |
commit | 7e2f555a6dc37839727dee130d8ed4421b680d42 (patch) | |
tree | f2bcca7814bbaa6ee50e14830bc3a74307b1148e /app/views/projects/project_members | |
parent | 4ec96676406da695de083b4f394290902da2a964 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/project_members')
-rw-r--r-- | app/views/projects/project_members/index.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/projects/project_members/index.html.haml b/app/views/projects/project_members/index.html.haml index a0a90fbe204..6b6aaaad802 100644 --- a/app/views/projects/project_members/index.html.haml +++ b/app/views/projects/project_members/index.html.haml @@ -15,7 +15,10 @@ - invite_group_top_margin = '' - if can_admin_project_member?(@project) .js-import-project-members-trigger{ data: { classes: 'gl-md-w-auto gl-w-full' } } - .js-import-project-members-modal{ data: { project_id: @project.id, project_name: @project.name, reload_page_on_submit: true.to_s } } + .js-import-project-members-modal{ data: { project_id: @project.id, + project_name: @project.name, + reload_page_on_submit: true.to_s, + users_limit_dataset: common_invite_modal_dataset(@project)[:users_limit_dataset] } } - invite_group_top_margin = 'gl-md-mt-0 gl-mt-3' - if @project.allowed_to_share_with_group? .js-invite-group-trigger{ data: { classes: "gl-md-w-auto gl-w-full gl-md-ml-3 #{invite_group_top_margin}", display_text: _('Invite a group') } } |