mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 06:35:14 +08:00
61f9df0656
Closes SCI-2930.
19 lines
756 B
Text
19 lines
756 B
Text
<% if project.active_experiments.present? %>
|
|
<ul>
|
|
<% project.active_experiments.each do |experiment| %>
|
|
<% cache [action_name, current_user, experiment] do %>
|
|
<li data-parent="candidate" data-experiment-id="<%= experiment.id %>">
|
|
<span class="tree-link line-wrap first-indent">
|
|
<i class="no-arrow"></i>
|
|
<%= link_to experiment.name,
|
|
experiment_action_to_link_to(experiment),
|
|
title: experiment.name,
|
|
class: 'overview_exp_label'
|
|
%>
|
|
</span>
|
|
<%= render partial: 'shared/sidebar/my_modules', locals: { experiment: experiment } %>
|
|
</li>
|
|
<% end %>
|
|
<% end %>
|
|
</ul>
|
|
<% end %>
|