mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
14 lines
564 B
Text
14 lines
564 B
Text
<div id="diagram-container">
|
|
<div id="diagram" class="diagram">
|
|
<% my_modules.each do |my_module| %>
|
|
<%= render partial: "canvas/small_zoom/my_module#{('_hidden' unless can_read_my_module?(my_module))}", locals: {experiment: experiment, my_module: my_module} %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<% if my_modules.empty? %>
|
|
<span class="empty-canvas"><%= t('experiments.canvas.canvas_empty') %></span>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%# Disable gray canvas navigator for now %>
|
|
<%# render partial: 'canvas/canvas_view_navigator', locals: { experiment: experiment } %>
|