<% if @issues.length == 0 %> <% if params[:search_by_user].present? && !@find_user %>

<%= t ".user_not_found" %>

<% else %>

<%= t ".issues_not_found" %>

<% end %> <% else %> <% @issues.each do |issue| %> <% end %>
<%= t ".status" %> <%= t ".reports" %> <%= t ".reported_item" %> <%= t ".reported_user" %> <%= t ".last_updated" %>
<%= t ".states.#{issue.status}" %> <%= link_to t(".reports_count", :count => issue.reports_count), issue %> <%= link_to reportable_title(issue.reportable), reportable_url(issue.reportable) %> <%= link_to issue.reported_user.display_name, issue.reported_user if issue.reported_user %> <% if issue.user_updated %> <%= t ".last_updated_time_ago_user_html", :user => link_to(issue.user_updated.display_name, issue.user_updated), :time_ago => friendly_date_ago(issue.updated_at) %> <% else %> <%= friendly_date_ago(issue.updated_at) %> <% end %>
<%= render "shared/pagination", :translation_scope => "shared.pagination.issues", :newer_id => @newer_issues_id, :older_id => @older_issues_id %> <% end %>