mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Merge pull request #527 from ZmagoD/zd_SCI_1136
add hook to canvas module actions
This commit is contained in:
commit
583ac1bf74
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@
|
|||
</li>
|
||||
<% end %>
|
||||
<% if can_archive_modules(my_module.experiment) %>
|
||||
<li <%= 'style=display:none;' if my_module.my_module_group.blank? %>>
|
||||
<li data-hook="archive-module-group"
|
||||
<%= 'style=display:none;' if my_module.my_module_group.blank? %>>
|
||||
<a class ="delete-module-group" href="" data-module-id="<%= my_module.id %>"><%=t "experiments.canvas.edit.delete_module_group" %></a>
|
||||
</li>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue