<% results.each do |repository_row| %>
<%=t "search.index.repositories.repository_row" %> <%= highlight repository_row.name, search_query.strip.split(/\s+/) %>

<% repository_row.repository_cells.each do |cell| %> <%=t "search.index.repositories.custom_column", column: cell.repository_column.name %> <%= highlight cell.value.data, search_query.strip.split(/\s+/) %>
<% end %> <%=t "search.index.repositories.added_on" %> <%=l repository_row.created_at, format: :full %>
<%=t "search.index.repositories.added_by" %> <%= highlight repository_row.created_by.full_name, search_query.strip.split(/\s+/) %>

<%=t "search.index.modules" %> <% if repository_row.my_modules.any? %> <% repository_row.my_modules.each_with_index do |mod, i| %> <%= render partial: "search/results/partials/my_module_text.html.erb", locals: { my_module: mod, link_to_page: :repositories, repository: repository } %> <% if i != repository_row.my_modules.count - 1 %> ,  <% end %> <% end %> <% else %> <%=t "search.index.repositories.no_modules" %> <% end %>
<%=t "search.index.team" %> <%= render partial: "search/results/partials/team_text.html.erb", locals: { team: repository.team } %>


<% end %>