about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-13 11:03:14 +0100
committerGitHub <noreply@github.com>2023-01-13 11:03:14 +0100
commitf79c200f7ee5c381751ee615cd8ac12b59800919 (patch)
treee5a10f2b6a8a090495ef643f46694b34d5d61194 /app/views
parent21a1a8ee887f82cb36b3d21011a0235e7bfc8e45 (diff)
Change wording of admin report handling actions (#18388)
* Change admin report handling UI to display appropriate text for remote reports

Change from “Decide which action to take to resolve this report. If you take a
punitive action against the reported account, an e-mail notification will be
sent to them, except when the Spam category is selected.” to “Decide which
action to take to resolve this report. This will only affect how your server
communicates with this remote account and handle its content.”

* Reword admin actions descriptions to make clear which admin actions close reports
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/reports/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml
index 5a45b9b78..a286aaec3 100644
--- a/app/views/admin/reports/show.html.haml
+++ b/app/views/admin/reports/show.html.haml
@@ -181,7 +181,7 @@
 - if @report.unresolved?
   %hr.spacer/
 
-  %p#actions= t 'admin.reports.actions_description_html'
+  %p#actions= t(@report.target_account.local? ? 'admin.reports.actions_description_html' : 'admin.reports.actions_description_remote_html')
 
   = render partial: 'admin/reports/actions'