mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 09:36:47 +10:00
Merge branch 'disable-blocked-in-abuse-reports' into 'master'
Disable "Already Blocked" button in admin abuse report page See merge request !2360
This commit is contained in:
@@ -26,6 +26,6 @@
|
||||
- if user && !user.blocked?
|
||||
= link_to 'Block user', block_admin_user_path(user), data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'}, method: :put, class: "btn btn-xs"
|
||||
- else
|
||||
.btn.btn-xs
|
||||
.btn.btn-xs.disabled
|
||||
Already Blocked
|
||||
= link_to 'Remove report', [:admin, abuse_report], remote: true, method: :delete, class: "btn btn-xs btn-close js-remove-tr"
|
||||
|
||||
Reference in New Issue
Block a user