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

Make admin user actions dropdown consistent

parent ec34b2d0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -743,6 +743,11 @@
border-radius: 0;
padding: 8px 16px;
 
// make sure the text color is not overriden
&.text-danger {
@extend .text-danger;
}
&.is-focused,
&:hover,
&:active,
Loading
Loading
Loading
Loading
@@ -132,6 +132,8 @@ ul.content-list {
}
 
.controls {
@include new-style-dropdown;
float: right;
 
> .control-text {
Loading
Loading
Loading
Loading
@@ -40,9 +40,10 @@
%li
= link_to 'Remove user', admin_user_path(user),
data: { confirm: "USER #{user.name} WILL BE REMOVED! Are you sure?" },
class: 'text-danger',
method: :delete
%li
= link_to 'Remove user and contributions', admin_user_path(user, hard_delete: true),
data: { confirm: "USER #{user.name} WILL BE REMOVED! All issues, merge requests and comments authored by this user, and groups owned solely by them, will also be removed! Are you sure?" },
class: 'btn btn-remove btn-block',
class: 'text-danger',
method: :delete
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