2018-06-01 19:49:02 +08:00
|
|
|
<% if experiment.active_my_modules.present? %>
|
2016-07-29 21:58:47 +08:00
|
|
|
<ul>
|
2018-06-01 21:05:12 +08:00
|
|
|
<% experiment.active_my_modules.sort_by{ |m| m.workflow_order }.each do |my_module| %>
|
|
|
|
|
2018-06-01 19:49:02 +08:00
|
|
|
<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 %>
|
2018-07-19 23:56:42 +08:00
|
|
|
<%= link_to my_module.name, module_action_to_link_to(my_module) %>
|
2018-06-01 19:49:02 +08:00
|
|
|
<% end %>
|
|
|
|
<% if is_canvas? %>
|
2018-07-09 19:13:44 +08:00
|
|
|
<a href="" class="canvas-center-on"><span class="fas fa-map-marker-alt"></span></a>
|
2016-07-29 21:58:47 +08:00
|
|
|
<% end %>
|
2018-06-01 19:49:02 +08:00
|
|
|
</span>
|
2016-07-29 21:58:47 +08:00
|
|
|
</li>
|
2018-06-01 21:05:12 +08:00
|
|
|
|
2016-07-29 21:58:47 +08:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
2016-08-03 22:09:45 +08:00
|
|
|
<% end %>
|