diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-25 10:57:56 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-25 10:57:56 +0200 |
commit | 13f8fc97843d3bb0f8c498835f740e44b1306395 (patch) | |
tree | e065762bb8f21932a7b7381669d59051eb814305 /app/views/admin | |
parent | e02b7bf4435d0ff151239ac790849994066c0bc1 (diff) | |
download | gitlab-ce-13f8fc97843d3bb0f8c498835f740e44b1306395.tar.gz |
Fix remove report buttonimprove-abuse-reports
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/abuse_reports/_abuse_report.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/abuse_reports/_abuse_report.html.haml b/app/views/admin/abuse_reports/_abuse_report.html.haml index 785ce4b759e..d3afc658cd6 100644 --- a/app/views/admin/abuse_reports/_abuse_report.html.haml +++ b/app/views/admin/abuse_reports/_abuse_report.html.haml @@ -22,5 +22,5 @@ %td - if user - = link_to 'Block user', block_admin_user_path(user), data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'}, method: :put, class: "btn btn-xs btn-warning" - = link_to 'Remove report', [:admin, abuse_report], method: :delete, class: "btn btn-xs btn-close" + = link_to 'Block user', block_admin_user_path(user), data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'}, method: :put, class: "btn btn-xs" + = link_to 'Remove report', [:admin, abuse_report], remote: true, method: :delete, class: "btn btn-xs btn-close js-remove-tr" |