Add ability to move archived tasks [SCI-7733] (#4892)

This commit is contained in:
aignatov-bio 2023-01-27 10:40:01 +01:00 committed by GitHub
parent 22523f1231
commit 667e0be9f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -21,7 +21,6 @@ Canaid::Permissions.register_for(MyModule) do
update_my_module_description
manage_my_module_tags
update_my_module_status
move_my_module
manage_my_module_steps
complete_my_module_steps
uncomplete_my_module_steps

View file

@ -12,7 +12,7 @@
<% end %>
<button id="editTask" class="btn btn-light single-object-action hidden only-active" data-for="editable" >
<i class="fas fa-pen"></i>
<span class="button-text"><%= t("experiments.table.toolbar.edit") %></span>
<span class="button-text"><%= t("experiments.table.toolbar.edit") %></span>
</button>
<% if can_manage_experiment?(@experiment) %>
<button id="duplicateTasks" class="btn btn-light multiple-object-action hidden only-active" data-url="<%= batch_clone_my_modules_experiment_path(@experiment) %>">
@ -20,7 +20,7 @@
<span class="button-text"><%= t("experiments.table.toolbar.duplicate") %></span>
</button>
<% end %>
<button id="moveTask" class="btn btn-light multiple-object-action hidden only-active" data-for="moveable">
<button id="moveTask" class="btn btn-light multiple-object-action hidden" data-for="moveable">
<i class="fas fa-arrow-right"></i>
<span class="button-text"><%= t("experiments.table.toolbar.move") %></span>
</button>