%p Blocked users will be removed from all projects & will not be able to login to GitLab.
%p Blocked users will be removed from all projects & will not be able to login to GitLab.
=link_to'Block User',block_admin_user_path(@user),confirm: 'USER WILL BE BLOCKED! Are you sure?',method: :put,class: "btn btn-small btn-remove"
=link_to'Block User',block_admin_user_path(@user),data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'},method: :put,class: "btn btn-small btn-remove"
=link_to'Block',block_admin_user_path(user),confirm: 'USER WILL BE BLOCKED! Are you sure?',method: :put,class: "btn btn-small btn-remove"
=link_to'Block',block_admin_user_path(user),data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'},method: :put,class: "btn btn-small btn-remove"
=link_to'Destroy',[:admin,user],confirm: "USER #{user.name} WILL BE REMOVED! All tickets linked to this user will also be removed! Maybe block the user instead? Are you sure?",method: :delete,class: "btn btn-small btn-remove"
=link_to'Destroy',[:admin,user],data: {confirm: "USER #{user.name} WILL BE REMOVED! All tickets linked to this user will also be removed! Maybe block the user instead? Are you sure?"},method: :delete,class: "btn btn-small btn-remove"
=link_toleave_profile_group_path(group),confirm: "Are you sure you want to leave #{group.name} group?",method: :delete,class: "btn-small btn grouped",title: 'Remove user from group'do
=link_toleave_profile_group_path(group),data: {confirm: "Are you sure you want to leave #{group.name} group?"},method: :delete,class: "btn-small btn grouped",title: 'Remove user from group'do
=link_to'Remove avatar',profile_avatar_path,confirm: "Avatar will be removed. Are you sure?",method: :delete,class: "btn btn-remove btn-small remove-avatar"
=link_to'Remove avatar',profile_avatar_path,data: {confirm: "Avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-small remove-avatar"
=link_to'Remove',project_deploy_key_path(@project,deploy_key),confirm: 'You are going to remove deploy key. Are you sure?',method: :delete,class: "btn btn-remove delete-key btn-small pull-right"
=link_to'Remove',project_deploy_key_path(@project,deploy_key),data: {confirm: 'You are going to remove deploy key. Are you sure?'},method: :delete,class: "btn btn-remove delete-key btn-small pull-right"
=link_to'Unprotect',[@project,branch],confirm: 'Branch will be writable for developers. Are you sure?',method: :delete,class: "btn btn-remove btn-small"
=link_to'Unprotect',[@project,branch],data: {confirm: 'Branch will be writable for developers. Are you sure?'},method: :delete,class: "btn btn-remove btn-small"
=link_toproject_team_member_path(@project,user),confirm: remove_from_project_team_message(@project,user),method: :delete,class: "btn-tiny btn btn-remove",title: 'Remove user from team'do
=link_toproject_team_member_path(@project,user),data: {confirm: remove_from_project_team_message(@project,user)},method: :delete,class: "btn-tiny btn btn-remove",title: 'Remove user from team'do
=link_toproject_wiki_path(@project,@wiki),confirm: "Are you sure you want to delete this page?",method: :delete,class: "btn btn-small btn-remove"do
=link_toproject_wiki_path(@project,@wiki),data: {confirm: "Are you sure you want to delete this page?"},method: :delete,class: "btn btn-small btn-remove"do
=link_to'Remove',snippet_path(@snippet),confirm: 'Removed snippet cannot be restored! Are you sure?',method: :delete,class: "btn btn-remove delete-snippet",id: "destroy_snippet_#{@snippet.id}"
=link_to'Remove',snippet_path(@snippet),data: {confirm: 'Removed snippet cannot be restored! Are you sure?'},method: :delete,class: "btn btn-remove delete-snippet",id: "destroy_snippet_#{@snippet.id}"