about summary refs log tree commit diff
path: root/app/views/admin/instances
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-12-01 19:03:43 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-12-01 19:03:43 +0100
commit41950394205f5ffbd42112699cc28f3f40f9c6ee (patch)
tree0e350e0d3928b733e973b1fb2daef1956ed62110 /app/views/admin/instances
parentbd8dc9bd0c9857470f14189c15572cab18bf8ab1 (diff)
Link to reports targetting instance in admin view (#12513)
Diffstat (limited to 'app/views/admin/instances')
-rw-r--r--app/views/admin/instances/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/instances/show.html.haml b/app/views/admin/instances/show.html.haml
index 294c9495d..49a666a5a 100644
--- a/app/views/admin/instances/show.html.haml
+++ b/app/views/admin/instances/show.html.haml
@@ -19,7 +19,7 @@
       .dashboard__counters__num= number_with_delimiter @blocks_count
       .dashboard__counters__label= t 'admin.instances.total_blocked_by_us'
   %div
-    %div
+    = link_to admin_reports_path(by_target_domain: @instance.domain) do
       .dashboard__counters__num= number_with_delimiter @reports_count
       .dashboard__counters__label= t 'admin.instances.total_reported'
   %div