summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-05-15 11:18:08 +0000
committerPhil Hughes <me@iamphill.com>2019-05-15 11:18:08 +0000
commit373223e0f456ea261ec370a60d89caa9739d6528 (patch)
tree7730d20929dc80e2df51a3950ed17d8b508e02b9 /app/views/projects
parent5750cf3bf7f7d4311116bedd3e2e32908520d0e2 (diff)
parentfae745c3421efe5793e55e4b29a538277608120c (diff)
downloadgitlab-ce-373223e0f456ea261ec370a60d89caa9739d6528.tar.gz
Merge branch 'new-proj-member-scb' into 'master'
Resolve CE/EE diffs in new proj member import See merge request gitlab-org/gitlab-ce!28254
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/project_members/_new_project_member.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/project_members/_new_project_member.html.haml b/app/views/projects/project_members/_new_project_member.html.haml
index 0590578c3fe..efabb7f7b19 100644
--- a/app/views/projects/project_members/_new_project_member.html.haml
+++ b/app/views/projects/project_members/_new_project_member.html.haml
@@ -19,4 +19,5 @@
= text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date'
%i.clear-icon.js-clear-input
= f.submit _("Add to project"), class: "btn btn-success qa-add-member-button"
- = link_to _("Import"), import_project_project_members_path(@project), class: "btn btn-default", title: _("Import members from another project")
+ - if can_import_members?
+ = link_to _("Import"), import_project_project_members_path(@project), class: "btn btn-default", title: _("Import members from another project")