1 <turbo-frame id="pagination" target="_top">
2 <% if @issues.length == 0 %>
3 <% if params[:search_by_user].present? && !@find_user %>
4 <p><%= t ".user_not_found" %></p>
6 <p><%= t ".issues_not_found" %></p>
9 <table class="table table-sm">
12 <th><%= t ".status" %></th>
13 <th><%= t ".reports" %></th>
14 <th><%= t ".reported_item" %></th>
15 <th><%= t ".reported_user" %></th>
16 <th><%= t ".last_updated" %></th>
20 <% @issues.each do |issue| %>
22 <td><%= t ".states.#{issue.status}" %></td>
23 <td class="text-nowrap"><%= link_to t(".reports_count", :count => issue.reports_count), issue %></td>
24 <td><%= link_to reportable_title(issue.reportable), reportable_url(issue.reportable) %></td>
25 <td><%= link_to issue.reported_user.display_name, issue.reported_user if issue.reported_user %></td>
27 <% if issue.user_updated %>
28 <%= t ".last_updated_time_ago_user_html", :user => link_to(issue.user_updated.display_name, issue.user_updated),
29 :time_ago => friendly_date_ago(issue.updated_at) %>
31 <%= friendly_date_ago(issue.updated_at) %>
38 <%= render "shared/pagination",
39 :newer_id => @newer_issues_id,
40 :older_id => @older_issues_id %>