Skip to content

Commit

Permalink
Merge pull request #3256 from manyfold3d/show-reporter-address-when-anon
Browse files Browse the repository at this point in the history
Show remote domain for anonymous reports
  • Loading branch information
Floppy authored Nov 29, 2024
2 parents 442dd68 + 66b21fc commit 2bed868
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion app/views/settings/reports/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<% @reports.each do |report| %>
<tr>
<td>coming soon...</td>
<td><%= report.federails_actor&.at_address %></td>
<td><%= report.reporter_address %></td>
<td><%= report.created_at %></td>
<td><%= link_to safe_join([icon("search", t("general.view")), t("general.view")], " "), settings_report_path(report), {class: "float-end btn btn-primary"} %></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion app/views/settings/reports/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

<blockquote>
Expand Down

0 comments on commit 2bed868

Please sign in to comment.