Update the Copy for the "Reports" Tab in the Admin Member Detail View (#16696)

* Updates the copy on the Reports tab

* Update app/views/admin/users/show/reports/_index.html.erb
This commit is contained in:
Julianna Tetreault 2022-02-25 07:33:13 -07:00 committed by GitHub
parent 5f26dc6809
commit 70e6aecfc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
<h2 class="crayons-subtitle-1">Reports submitted by @<%= @user.username %> (<%= @related_reports.count %>)</h2>
<h2 class="crayons-subtitle-1">Reports submitted by <%= @user.name %> (<%= @related_reports.count %>)</h2>
<% unless @related_reports.empty? %>
<div class="pt-3">
@ -28,7 +28,7 @@
</div>
<% else %>
<div class="align-center flex flex-col justify-center my-auto py-8">
<h3 class="fs-xl fw-normal mb-2">🧐 No reports submitted.</h3>
<p class="color-secondary">This user hasn't reported anything yet.</p>
<h3 class="fs-xl fw-normal mb-2">No comment or post has been reported yet.</h3>
<p class="color-secondary">Any comment or post reported by <%= @user.name %> will be found here.</p>
</div>
<% end %>