2019-12-26 22:10:19 +05:30
|
|
|
- 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' }})
|
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
.abuse-reports
|
|
|
|
- if @abuse_reports.present?
|
|
|
|
.table-holder
|
2017-08-17 22:00:37 +05:30
|
|
|
%table.table.responsive-table
|
2021-01-03 14:25:43 +05:30
|
|
|
%thead.d-none.d-md-table-header-group
|
2016-09-29 09:46:39 +05:30
|
|
|
%tr
|
|
|
|
%th User
|
|
|
|
%th Reported by
|
|
|
|
%th.wide Message
|
|
|
|
%th Action
|
|
|
|
= render @abuse_reports
|
2017-08-17 22:00:37 +05:30
|
|
|
= paginate @abuse_reports, theme: 'gitlab'
|
2016-09-29 09:46:39 +05:30
|
|
|
- else
|
2017-08-17 22:00:37 +05:30
|
|
|
.empty-state
|
|
|
|
.text-center
|
|
|
|
%h4 There are no abuse reports! #{emoji_icon('tada')}
|