提交 8e0e9d6d 编写于 作者: P Phil Hughes

Merge branch 'winh-dropdown-entry-unlocking' into 'master'

Remove green background from unlock button in admin area

Closes #41269

See merge request gitlab-org/gitlab-ce!18288
......@@ -33,7 +33,7 @@
= link_to 'Block', block_admin_user_path(user), data: { confirm: 'USER WILL BE BLOCKED! Are you sure?' }, method: :put
- if user.access_locked?
%li
= link_to 'Unlock', unlock_admin_user_path(user), method: :put, class: 'btn-grouped btn btn-xs btn-success', data: { confirm: 'Are you sure?' }
= link_to _('Unlock'), unlock_admin_user_path(user), method: :put, data: { confirm: _('Are you sure?') }
- if can?(current_user, :destroy_user, user)
%li.divider
- if user.can_be_removed?
......
---
title: Remove green background from unlock button in admin area
merge_request: 18288
author:
type: changed
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册