summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-05 12:08:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-05 12:08:24 +0000
commit38b39c50473ba58a80ddad5c22c96ccd5128ddfb (patch)
tree21a3dc9f9ab12f079f4f791f40ba175b872394ef /app/views
parent963838b90c1c121d16ec43353a4e0d44450664cf (diff)
downloadgitlab-ce-38b39c50473ba58a80ddad5c22c96ccd5128ddfb.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/issuable/_sidebar_assignees.html.haml11
1 files changed, 10 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar_assignees.html.haml b/app/views/shared/issuable/_sidebar_assignees.html.haml
index 4192ecd2238..adf2760329d 100644
--- a/app/views/shared/issuable/_sidebar_assignees.html.haml
+++ b/app/views/shared/issuable/_sidebar_assignees.html.haml
@@ -40,4 +40,13 @@
- data['max-select'] = dropdown_options[:data][:'max-select'] if dropdown_options[:data][:'max-select']
- options[:data].merge!(data)
- = dropdown_tag(title, options: options)
+ - if experiment_enabled?(:invite_members_version_a) && can_import_members?
+ - options[:dropdown_class] += ' dropdown-extended-height'
+ - options[:footer_content] = true
+
+ = dropdown_tag(title, options: options) do
+ %ul.dropdown-footer-list
+ %li
+ = link_to _('Invite Members'), project_project_members_path(@project), title: _('Invite Members'), :"data-is-link" => true
+ - else
+ = dropdown_tag(title, options: options)