diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-24 21:07:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-24 21:07:15 +0300 |
commit | ff8299c65d414ebd987dc68ac6035edb6340d412 (patch) | |
tree | 033af5898263b54e3a33e18e3aacee3cc3eb3140 /app/views/projects/_invite_members_modal.html.haml | |
parent | 8a37720edff0c74579bba2f8f985f37ed49ffa49 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/_invite_members_modal.html.haml')
-rw-r--r-- | app/views/projects/_invite_members_modal.html.haml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/projects/_invite_members_modal.html.haml b/app/views/projects/_invite_members_modal.html.haml index 00f823b9016..5dd6ec0addf 100644 --- a/app/views/projects/_invite_members_modal.html.haml +++ b/app/views/projects/_invite_members_modal.html.haml @@ -1,7 +1,8 @@ -- if can_invite_members_for_project?(project) - .js-invite-members-modal{ data: { id: project.id, - name: project.name, - is_project: 'true', - access_levels: ProjectMember.access_level_roles.to_json, - default_access_level: Gitlab::Access::GUEST, - help_link: help_page_url('user/permissions') } } +- return unless can_import_members? + +.js-invite-members-modal{ data: { id: project.id, + name: project.name, + is_project: 'true', + access_levels: ProjectMember.access_level_roles.to_json, + default_access_level: Gitlab::Access::GUEST, + help_link: help_page_url('user/permissions') } } |