mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
22 lines
630 B
Text
22 lines
630 B
Text
<% results.each do |project| %>
|
|
<h5>
|
|
<span class="glyphicon glyphicon-blackboard"></span>
|
|
<%= render partial: 'search/results/partials/project_text.html.erb',
|
|
locals: { project: project, query: search_query, link_to_page: :show } %>
|
|
</h5>
|
|
|
|
<p>
|
|
<span>
|
|
<%=t 'search.index.created_at' %>
|
|
<%=l project.created_at, format: :full %>
|
|
</span>
|
|
<br>
|
|
<span>
|
|
<%=t 'search.index.organization' %>
|
|
<%= render partial: 'search/results/partials/organization_text.html.erb',
|
|
locals: { organization: project.organization } %>
|
|
</span>
|
|
</p>
|
|
|
|
<hr>
|
|
<% end %>
|