Remove green background from unlock button in admin area

This commit is contained in:
Winnie Hellmann 2018-04-10 21:08:02 +02:00
parent 977e6849fe
commit eba70f499a
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