mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
27 lines
762 B
Text
27 lines
762 B
Text
|
<% results.each do |experiment| %>
|
||
|
<h5>
|
||
|
<span class="glyphicon glyphicon-filter"></span>
|
||
|
<%= highlight experiment.name, search_query.strip.split(/\s+/) %>
|
||
|
</h5>
|
||
|
|
||
|
<p>
|
||
|
<span>
|
||
|
<%=t "search.index.created_at" %>
|
||
|
<%=l experiment.created_at, format: :full %>
|
||
|
</span>
|
||
|
<br>
|
||
|
<span>
|
||
|
<%=t "search.index.project" %>
|
||
|
<%= render partial: "search/results/partials/project_text.html.erb",
|
||
|
locals: { project: experiment.project, link_to_page: :canvas } %>
|
||
|
</span>
|
||
|
<br>
|
||
|
<span>
|
||
|
<%=t "search.index.organization" %>
|
||
|
<%= render partial: "search/results/partials/organization_text.html.erb", locals: { organization: experiment.project.organization } %>
|
||
|
</span>
|
||
|
</p>
|
||
|
|
||
|
<hr>
|
||
|
<% end %>
|