=link_to_('Remove user & report'),admin_abuse_report_path(abuse_report,remove_user: true),
data: {confirm: _("USER %{user} WILL BE REMOVED! Are you sure?")%{user: user.name}},remote: true,method: :delete,class: "gl-button btn btn-sm btn-block btn-danger js-remove-tr"
-ifuser&&!user.blocked?
=link_to_('Block user'),block_admin_user_path(user),data: {confirm: _('USER WILL BE BLOCKED! Are you sure?')},method: :put,class: "gl-button btn btn-sm btn-block"
=link_to_('Block user'),block_admin_user_path(user),data: {confirm: _('USER WILL BE BLOCKED! Are you sure?')},method: :put,class: "gl-button btn btn-default btn-sm btn-block"
=link_to'Submit as ham',mark_as_ham_admin_spam_log_path(spam_log),method: :post,class: 'gl-button btn btn-sm btn-warning'
=link_to'Submit as ham',mark_as_ham_admin_spam_log_path(spam_log),method: :post,class: 'gl-button btn btn-default btn-sm btn-warning'
-ifuser&&!user.blocked?
=link_to'Block user',block_admin_user_path(user),data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'},method: :put,class: "gl-button btn btn-sm"
=link_to'Block user',block_admin_user_path(user),data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'},method: :put,class: "gl-button btn btn-default btn-sm"
=link_to'Unprotect',[@project,protected_tag,{update_section: 'js-protected-tags-settings'}],data: {confirm: 'Tag will be writable for developers. Are you sure?'},method: :delete,class: 'gl-button btn btn-warning'
=link_to'Unprotect',[@project,protected_tag,{update_section: 'js-protected-tags-settings'}],data: {confirm: 'Tag will be writable for developers. Are you sure?'},method: :delete,class: 'gl-button btn btn-default btn-warning'