2018-06-01 19:49:02 +08:00
|
|
|
<% if project.active_experiments.present? %>
|
2018-03-22 18:41:33 +08:00
|
|
|
<ul>
|
2016-08-24 16:47:30 +08:00
|
|
|
<% project.active_experiments.each do |experiment| %>
|
2019-02-20 21:13:51 +08:00
|
|
|
<% cache [action_name, current_user, experiment] do %>
|
2018-11-29 18:28:36 +08:00
|
|
|
<li data-parent="candidate" data-experiment-id="<%= experiment.id %>">
|
2018-03-22 18:41:33 +08:00
|
|
|
<span class="tree-link line-wrap first-indent">
|
2018-05-18 16:41:32 +08:00
|
|
|
<i class="no-arrow"></i>
|
2018-06-01 19:49:02 +08:00
|
|
|
<%= link_to experiment.name,
|
|
|
|
experiment_action_to_link_to(experiment),
|
|
|
|
title: experiment.name,
|
|
|
|
class: 'overview_exp_label'
|
|
|
|
%>
|
2016-08-03 22:09:45 +08:00
|
|
|
</span>
|
|
|
|
<%= render partial: 'shared/sidebar/my_modules', locals: { experiment: experiment } %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2016-07-29 21:58:47 +08:00
|
|
|
<% end %>
|
2018-03-22 18:41:33 +08:00
|
|
|
</ul>
|
|
|
|
<% end %>
|