summaryrefslogtreecommitdiff
path: root/app/views/admin/abuse_reports
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-11 18:06:27 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-11 18:06:27 +0000
commitff67e3ed08355fb2d6f6e69d4ed06cd09052e573 (patch)
tree97ac29ddd32b612343b34bbdd6b8d57526b3d308 /app/views/admin/abuse_reports
parent7071f9bf3e131a7a668922ee450da529f1866b6f (diff)
downloadgitlab-ce-ff67e3ed08355fb2d6f6e69d4ed06cd09052e573.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/admin/abuse_reports')
-rw-r--r--app/views/admin/abuse_reports/index.html.haml18
1 files changed, 15 insertions, 3 deletions
diff --git a/app/views/admin/abuse_reports/index.html.haml b/app/views/admin/abuse_reports/index.html.haml
index cc29657a439..e3d78b3058f 100644
--- a/app/views/admin/abuse_reports/index.html.haml
+++ b/app/views/admin/abuse_reports/index.html.haml
@@ -1,6 +1,18 @@
-- page_title 'Abuse Reports'
-%h3.page-title Abuse Reports
-%hr
+- page_title _('Abuse Reports')
+
+%h3.page-title= _('Abuse Reports')
+
+.row-content-block.second-block
+ = form_tag admin_abuse_reports_path, method: :get, class: 'filter-form' do
+ .filter-categories.flex-fill
+ .filter-item.inline
+ = dropdown_tag(user_dropdown_label(params[:user_id], 'User'),
+ options: { toggle_class: 'js-filter-submit js-user-search',
+ title: _('Filter by user'), filter: true, filterInput: 'input#user-search',
+ dropdown_class: 'dropdown-menu-selectable dropdown-menu-user js-filter-submit',
+ placeholder: _('Search users'),
+ data: { current_user: true, field_name: 'user_id' }})
+
.abuse-reports
- if @abuse_reports.present?
.table-holder