mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
21 lines
870 B
Text
21 lines
870 B
Text
<div class="atwho-scroll-container">
|
|
<% grouped_by_prj(experiments).each do |experiment_group| %>
|
|
<div class="item-group">
|
|
<div class="atwho-breadcrumbs">
|
|
<span class="atwho-breadcrumb" title="<%= experiment_group[:project_name] %>"><%= experiment_group[:project_name] %></span>
|
|
</div>
|
|
<div class="items">
|
|
<% experiment_group[:experiments].each do |experiment| %>
|
|
<li class="item" data-name="<%= experiment.name %>" data-id="<%= experiment.id.base62_encode %>" data-type="exp">
|
|
<span class='sa-type'>Exp</span>
|
|
<span class="item-text"><%= experiment.name %></span>
|
|
</li>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
<% if experiments.empty? %>
|
|
<%= render partial: 'shared/smart_annotation/no_results.html.erb' %>
|
|
<% end %>
|
|
</div>
|
|
<%= render partial: 'shared/smart_annotation/footer.html.erb' %>
|