diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-13 18:09:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-13 18:09:22 +0000 |
commit | d4a7d0bec23c624bd0e7d690bdc0cb3fe8387378 (patch) | |
tree | 6e48b3268a3ccdc49f576018f606985c6a285744 /app/views/admin/users | |
parent | c4eeda2d3d048e84b331f416472e99ed0e116904 (diff) | |
download | gitlab-ce-d4a7d0bec23c624bd0e7d690bdc0cb3fe8387378.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/admin/users')
-rw-r--r-- | app/views/admin/users/_head.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/users/_head.html.haml b/app/views/admin/users/_head.html.haml index 378caf803dd..529692df0b6 100644 --- a/app/views/admin/users/_head.html.haml +++ b/app/views/admin/users/_head.html.haml @@ -32,7 +32,7 @@ - if impersonation_enabled? && @user.can?(:log_in) = link_to _('Impersonate'), impersonate_admin_user_path(@user), method: :post, class: "btn btn-default gl-button", data: { qa_selector: 'impersonate_user_link' } - if can_force_email_confirmation?(@user) - %button.btn.gl-button.btn-confirm.js-confirm-modal-button{ data: confirm_user_data(@user) } + = render Pajamas::ButtonComponent.new(variant: :confirm, button_options: { class: 'js-confirm-modal-button', data: confirm_user_data(@user) }) do = _('Confirm user') .gl-p-2 #js-admin-user-actions{ data: admin_user_actions_data_attributes(@user) } |