mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
Prevent archiving of experiments with at least one locked task
This commit is contained in:
parent
1c8407e4f4
commit
c84457e1ed
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
tooltipcontent: I18n.t('tooltips.text.experiment.move')
|
||||
} %></li>
|
||||
<% end %>
|
||||
<% if can_manage_experiment?(experiment) %>
|
||||
<% if can_archive_experiment?(experiment) %>
|
||||
<li><%= link_to t('experiments.archive.label_title'),
|
||||
archive_experiment_url(experiment),
|
||||
type: 'button',
|
||||
|
|
Loading…
Reference in a new issue