[Posts] Only show uploader feedback counts to staff (#742)

Fixes an issue introduced in #723
This commit is contained in:
Cinder 2024-09-02 07:52:44 -07:00 committed by GitHub
parent ab0453120a
commit 0d23500a86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@
</li>
<% if CurrentUser.is_janitor? || post.uploader_linked_artists.any? %>
<li>
Uploader: <%= link_to_user(post.uploader) %> <%= user_record_meta(post.uploader) %>
Uploader: <%= link_to_user(post.uploader) %> <%= user_record_meta(post.uploader) if CurrentUser.is_janitor? %>
<% if post.uploader_linked_artists.any? %>
<i class="uploader-is-artist fa-regular fa-circle-check" title="The uploader is linked to one of the artist tags"></i>
<% end %>