Link to reports targetting instance in admin view (#12513)

master
ThibG 5 years ago committed by Eugen Rochko
parent bd8dc9bd0c
commit 4195039420
  1. 2
      app/views/admin/instances/show.html.haml

@ -19,7 +19,7 @@
.dashboard__counters__num= number_with_delimiter @blocks_count .dashboard__counters__num= number_with_delimiter @blocks_count
.dashboard__counters__label= t 'admin.instances.total_blocked_by_us' .dashboard__counters__label= t 'admin.instances.total_blocked_by_us'
%div %div
%div = link_to admin_reports_path(by_target_domain: @instance.domain) do
.dashboard__counters__num= number_with_delimiter @reports_count .dashboard__counters__num= number_with_delimiter @reports_count
.dashboard__counters__label= t 'admin.instances.total_reported' .dashboard__counters__label= t 'admin.instances.total_reported'
%div %div

Loading…
Cancel
Save