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
This commit is contained in:
Phil Hughes 2018-04-12 09:37:40 +00:00
commit 8e0e9d6dd5
2 changed files with 6 additions and 1 deletions

View File

@ -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?

View File

@ -0,0 +1,5 @@
---
title: Remove green background from unlock button in admin area
merge_request: 18288
author:
type: changed