From 66b21fc9157df1554eb7a96cb07f7505ab926838 Mon Sep 17 00:00:00 2001 From: James Smith Date: Fri, 29 Nov 2024 14:53:19 +0000 Subject: [PATCH] show remote domain for anonymous reports --- Gemfile.lock | 2 +- app/views/settings/reports/index.html.erb | 2 +- app/views/settings/reports/show.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b851c1107..44e83e28e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/manyfold3d/federails-moderation.git - revision: b9c0aad44a2019819559eec23b918f12805920ba + revision: fa2ec856a0cf965bc51d984b694074e02f52c2f5 specs: federails-moderation (0.0.1) federails (~> 0.3) diff --git a/app/views/settings/reports/index.html.erb b/app/views/settings/reports/index.html.erb index d2d4be695..0b5b7d1f0 100644 --- a/app/views/settings/reports/index.html.erb +++ b/app/views/settings/reports/index.html.erb @@ -12,7 +12,7 @@ <% @reports.each do |report| %> coming soon... - <%= report.federails_actor&.at_address %> + <%= report.reporter_address %> <%= report.created_at %> <%= link_to safe_join([icon("search", t("general.view")), t("general.view")], " "), settings_report_path(report), {class: "float-end btn btn-primary"} %> diff --git a/app/views/settings/reports/show.html.erb b/app/views/settings/reports/show.html.erb index e26058e8e..5cf995a8d 100644 --- a/app/views/settings/reports/show.html.erb +++ b/app/views/settings/reports/show.html.erb @@ -2,7 +2,7 @@

<%= Federails::Moderation::Report.human_attribute_name(:federails_actor) %>: - <%= @report.federails_actor&.at_address %> + <%= @report.reporter_address %>