Remove green background from unlock button in admin area
This commit is contained in:
parent
977e6849fe
commit
eba70f499a
2 changed files with 6 additions and 1 deletions
|
@ -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?
|
||||
|
|
5
changelogs/unreleased/winh-dropdown-entry-unlocking.yml
Normal file
5
changelogs/unreleased/winh-dropdown-entry-unlocking.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Remove green background from unlock button in admin area
|
||||
merge_request: 18288
|
||||
author:
|
||||
type: changed
|
Loading…
Reference in a new issue