2018-03-22 18:41:33 +08:00
|
|
|
<ul>
|
2018-12-03 20:03:22 +08:00
|
|
|
<% @projects_tree.each do |project| %>
|
2019-02-20 21:13:51 +08:00
|
|
|
<% cache [action_name, current_user, project] do %>
|
2018-12-03 20:03:22 +08:00
|
|
|
<li data-parent="candidate" data-project-id="<%= project.id %>">
|
|
|
|
<span class="tree-link line-wrap no-indent">
|
|
|
|
<i class="no-arrow"></i>
|
|
|
|
<%= link_to project.name,
|
|
|
|
project_action_to_link_to(project),
|
|
|
|
title: project.name,
|
|
|
|
data: { project_id: project.id } %>
|
|
|
|
</span>
|
|
|
|
<%= render partial: 'shared/sidebar/experiments', locals: { project: project } %>
|
|
|
|
</li>
|
2018-03-22 18:41:33 +08:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|