diff --git a/app/views/canvas/full_zoom/_my_module.html.erb b/app/views/canvas/full_zoom/_my_module.html.erb index af2f9385d..6a4b27cfc 100644 --- a/app/views/canvas/full_zoom/_my_module.html.erb +++ b/app/views/canvas/full_zoom/_my_module.html.erb @@ -29,14 +29,16 @@
- <% if !my_module.completed? && can_manage_module?(my_module) %> - <%= link_to due_date_my_module_path(my_module, format: :json), remote: true, - class: "due-date-link due-date-refresh" do %> +
+ <% if !my_module.completed? && can_manage_module?(my_module) %> + <%= link_to due_date_my_module_path(my_module, format: :json), remote: true, + class: "due-date-link due-date-refresh" do %> + <%= render partial: "my_modules/card_due_date_label.html.erb", locals: { my_module: my_module, format: :full_date } %> + <% end %> + <% else %> <%= render partial: "my_modules/card_due_date_label.html.erb", locals: { my_module: my_module, format: :full_date } %> <% end %> - <% else %> - <%= render partial: "my_modules/card_due_date_label.html.erb", locals: { my_module: my_module, format: :full_date } %> - <% end %> +
<%= my_module.my_module_status.name %>