2016-02-12 23:52:43 +08:00
|
|
|
<% results.each do |project| %>
|
|
|
|
<h5>
|
2018-05-22 22:55:58 +08:00
|
|
|
<span class="fas fa-folder"></span>
|
2016-08-17 15:28:35 +08:00
|
|
|
<%= render partial: 'search/results/partials/project_text.html.erb',
|
2016-07-27 22:28:18 +08:00
|
|
|
locals: { project: project, query: search_query, link_to_page: :show } %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</h5>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<span>
|
2016-08-17 15:28:35 +08:00
|
|
|
<%=t 'search.index.created_at' %>
|
2016-02-12 23:52:43 +08:00
|
|
|
<%=l project.created_at, format: :full %>
|
|
|
|
</span>
|
|
|
|
<br>
|
|
|
|
<span>
|
2017-01-25 19:01:23 +08:00
|
|
|
<%=t 'search.index.team' %>
|
|
|
|
<%= render partial: 'search/results/partials/team_text.html.erb',
|
|
|
|
locals: { team: project.team } %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</span>
|
2018-06-07 20:29:40 +08:00
|
|
|
<span data-hook="search-result-project"></span>
|
2016-02-12 23:52:43 +08:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<% end %>
|