scinote-web/app/views/canvas/_full_zoom.html.erb

17 lines
657 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<div id="diagram-container">
<div id="diagram" class="diagram">
<% my_modules.each do |my_module| %>
<%= render partial: "canvas/full_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>
<% if my_modules.empty? %>
<span class="empty-canvas"><%= t('experiments.canvas.canvas_empty') %></span>
<% end %>
2016-02-12 23:52:43 +08:00
</div>
<!-- Edit due date modal -->
<%= render partial: "my_modules/modals/manage_due_date_modal" %>
<%# Disable gray canvas navigator for now %>
<%# render partial: 'canvas/canvas_view_navigator', locals: { experiment: experiment } %>