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 %>
|
2020-01-06 23:07:23 +08:00
|
|
|
<li data-parent="candidate">
|
2020-01-29 20:22:35 +08:00
|
|
|
<span class="tree-link no-indent" title="<%= project.name %>">
|
2018-12-03 20:03:22 +08:00
|
|
|
<i class="no-arrow"></i>
|
|
|
|
<%= link_to project.name,
|
|
|
|
project_action_to_link_to(project),
|
|
|
|
title: project.name,
|
2020-01-29 20:22:35 +08:00
|
|
|
class: 'line-wrap',
|
2020-01-06 23:07:23 +08:00
|
|
|
data: { type: 'project', id: project.id } %>
|
2018-12-03 20:03:22 +08:00
|
|
|
</span>
|
|
|
|
<%= render partial: 'shared/sidebar/experiments', locals: { project: project } %>
|
|
|
|
</li>
|
2018-03-22 18:41:33 +08:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|