% results.each do |report| %>
<%=t "search.index.description" %>
<% if report.description.present? %>
<%= highlight report.description, @search_query.strip.split(/\s+/) %>
<% else %>
<%=t "search.index.no_description" %>
<% end %>
<%=t "search.index.created_by" %>
<%= highlight report.user.full_name, @search_query.strip.split(/\s+/) %>
<%=t "search.index.created_at" %>
<%=l report.created_at, format: :full %>
<%=t "search.index.last_modified_by" %>
<%= highlight report.last_modified_by.full_name, @search_query.strip.split(/\s+/) %>
<%=t "search.index.last_modified_at" %>
<%=l report.updated_at, format: :full %>
<%=t "search.index.project" %>
<%= render partial: "search/results/partials/project_text.html.erb",
locals: { project: report.project, link_to_page: :show } %>
<%=t "search.index.team" %>
<%= render partial: "search/results/partials/team_text.html.erb",
locals: { team: report.project.team } %>