summaryrefslogtreecommitdiff
path: root/app/views/projects/_invite_members_modal.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_invite_members_modal.html.haml')
-rw-r--r--app/views/projects/_invite_members_modal.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/projects/_invite_members_modal.html.haml b/app/views/projects/_invite_members_modal.html.haml
new file mode 100644
index 00000000000..ad95f39bbfa
--- /dev/null
+++ b/app/views/projects/_invite_members_modal.html.haml
@@ -0,0 +1,7 @@
+- if invite_members_allowed?(project.group)
+ .js-invite-members-modal{ data: { id: project.id,
+ name: project.name,
+ is_project: true,
+ access_levels: GroupMember.access_level_roles.to_json,
+ default_access_level: Gitlab::Access::GUEST,
+ help_link: help_page_url('user/permissions') } }