Skip to content
Snippets Groups Projects
Commit eba70f49 authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Remove green background from unlock button in admin area

parent 977e6849
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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?
Loading
Loading
---
title: Remove green background from unlock button in admin area
merge_request: 18288
author:
type: changed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment