2016-02-12 23:52:43 +08:00
|
|
|
<% results.each do |project| %>
|
|
|
|
<h5>
|
|
|
|
<span class="glyphicon glyphicon-blackboard"></span>
|
2016-07-21 19:11:15 +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>
|
|
|
|
<%=t "search.index.created_at" %>
|
|
|
|
<%=l project.created_at, format: :full %>
|
|
|
|
</span>
|
|
|
|
<br>
|
|
|
|
<span>
|
|
|
|
<%=t "search.index.organization" %>
|
2016-07-26 18:59:37 +08:00
|
|
|
<%= render partial: "search/results/partials/organization_text.html.erb",
|
|
|
|
locals: { organization: project.organization } %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<% end %>
|