Site Reports

<% if @reports.empty? %>

No reports found.

<% else %>
<% @reports.each_with_index do |report, index| %>
<% # Use the specific site_file_path from report, or default to index.html if report.site_file_path && !report.site_file_path.empty? screenshot_path = report.site_file_path else screenshot_path = 'index.html' end blur_sensitive_screenshot = @moderation_blur_categories.include?(report.type) %>
<% if report.type && !report.type.empty? %> <%= report.type.upcase %> <% end %>

<%== report.site.supporter? ? '' : '' %><%= report.site.username %>

<%= report.site.uri + '/' + screenshot_path %> Site InfoSite ProfileSite Root

<%= report.type %> • <%= report.created_at.ago %><% if report.reporting_site %> • reported by <%= report.reporting_site.username %><% end %>

<% if report.comments && !report.comments.empty? %> <%= report.comments[0..200] %><%= report.comments.length > 200 ? '...' : '' %> <% else %> No comments <% end %>
<%= report.site.views.format_large_number %> views
<% if !report.site.is_nsfw %> <% end %>
<% if (index + 1) % 3 == 0 && index != @reports.length - 1 %>
<% end %> <% end %> <%== erb :'_pagination', layout: false %>
<% end %>