2016-02-12 23:52:43 +08:00
|
|
|
<div id="diagram-container">
|
|
|
|
<div id="diagram" class="diagram">
|
|
|
|
<% my_modules.each do |my_module| %>
|
2021-10-13 16:08:39 +08:00
|
|
|
<%= render partial: "canvas/small_zoom/my_module#{('_hidden' unless can_read_my_module?(my_module))}", locals: {experiment: experiment, my_module: my_module} %>
|
2016-02-12 23:52:43 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
2022-11-28 17:35:42 +08:00
|
|
|
|
|
|
|
<% if my_modules.empty? %>
|
|
|
|
<span class="empty-canvas"><%= t('experiments.canvas.canvas_empty') %></span>
|
|
|
|
<% end %>
|
2016-07-26 20:02:06 +08:00
|
|
|
</div>
|
2022-10-27 20:43:31 +08:00
|
|
|
|
2023-02-20 17:15:08 +08:00
|
|
|
<%# Disable gray canvas navigator for now %>
|
2023-02-20 23:24:39 +08:00
|
|
|
<%# render partial: 'canvas/canvas_view_navigator', locals: { experiment: experiment } %>
|