mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 22:51:24 +08:00
61f9df0656
Closes SCI-2930.
16 lines
614 B
Text
16 lines
614 B
Text
<ul>
|
|
<% @projects_tree.each do |project| %>
|
|
<% cache [action_name, current_user, project] do %>
|
|
<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>
|
|
<% end %>
|
|
<% end %>
|
|
</ul>
|