mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
21 lines
722 B
Text
21 lines
722 B
Text
<% if experiment.active_my_modules.present? %>
|
|
<ul>
|
|
<% experiment.active_my_modules.sort_by{ |m| m.workflow_order }.each do |my_module| %>
|
|
|
|
<li class="leaf <%= "active" if currently_active? my_module %>"
|
|
data-module-id="<%= my_module.id %>">
|
|
<span class="tree-link second-indent">
|
|
<% if currently_active? my_module %>
|
|
<%= my_module.name %>
|
|
<% else %>
|
|
<%= link_to my_module.name, module_action_to_link_to(my_module) %>
|
|
<% end %>
|
|
<% if is_canvas? %>
|
|
<a href="" class="canvas-center-on"><span class="fas fa-map-marker-alt"></span></a>
|
|
<% end %>
|
|
</span>
|
|
</li>
|
|
|
|
<% end %>
|
|
</ul>
|
|
<% end %>
|