Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 21:25:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 21:25:58 +0300
commita5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch)
treefb69158581673816a8cd895f9d352dcb3c678b1e /app/views/shared/issuable/_sidebar_assignees.html.haml
parentd16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff)
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'app/views/shared/issuable/_sidebar_assignees.html.haml')
-rw-r--r--app/views/shared/issuable/_sidebar_assignees.html.haml24
1 files changed, 5 insertions, 19 deletions
diff --git a/app/views/shared/issuable/_sidebar_assignees.html.haml b/app/views/shared/issuable/_sidebar_assignees.html.haml
index 86369b32e98..7416fda6b44 100644
--- a/app/views/shared/issuable/_sidebar_assignees.html.haml
+++ b/app/views/shared/issuable/_sidebar_assignees.html.haml
@@ -42,22 +42,8 @@
- data['max-select'] = dropdown_options[:data][:'max-select'] if dropdown_options[:data][:'max-select']
- options[:data].merge!(data)
- - if directly_invite_members?
- - options[:dropdown_class] += ' dropdown-extended-height'
- - options[:footer_content] = true
- - options[:wrapper_class] = 'js-sidebar-assignee-dropdown'
- - options[:toggle_class] += ' js-invite-members-track'
- - data['track-event'] = 'show_invite_members'
- - options[:data].merge!(data)
- - invite_text = _('Invite Members')
- - track_label = 'edit_assignee'
-
- = dropdown_tag(title, options: options) do
- %ul.dropdown-footer-list
- %li
- .js-invite-members-trigger{ data: { trigger_element: 'anchor',
- display_text: invite_text,
- event: 'click_invite_members',
- label: track_label } }
- - else
- = dropdown_tag(title, options: options)
+ = render 'shared/issuable/sidebar_user_dropdown',
+ options: options,
+ wrapper_class: 'js-sidebar-assignee-dropdown',
+ track_label: 'edit_assignee',
+ trigger_source: "#{issuable_type}-assignee-dropdown"