Improve report layout (#7188)
* Use table for statuses in report * Display reported account and reporter in the same table * Split accounts and general report info into two tables again * Redesign report statuses table, notes, merge notes and action log * Remove unused translations * Fix code style issue * Fix code style issue * Fix code style issue
This commit is contained in:
parent
1663368724
commit
a9c440637c
55 changed files with 380 additions and 249 deletions
|
@ -8,20 +8,17 @@
|
|||
%li= filter_link_to t('admin.reports.unresolved'), resolved: nil
|
||||
%li= filter_link_to t('admin.reports.resolved'), resolved: '1'
|
||||
|
||||
= form_tag do
|
||||
|
||||
.table-wrapper
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
-# %th
|
||||
%th= t('admin.reports.id')
|
||||
%th= t('admin.reports.target')
|
||||
%th= t('admin.reports.reported_by')
|
||||
%th= t('admin.reports.report_contents')
|
||||
%th= t('admin.reports.assigned')
|
||||
%th
|
||||
%tbody
|
||||
= render @reports
|
||||
.table-wrapper
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th= t('admin.reports.id')
|
||||
%th= t('admin.reports.target')
|
||||
%th= t('admin.reports.reported_by')
|
||||
%th= t('admin.reports.report_contents')
|
||||
%th= t('admin.reports.assigned')
|
||||
%th
|
||||
%tbody
|
||||
= render @reports
|
||||
|
||||
= paginate @reports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue