mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +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')
|
tooltipcontent: I18n.t('tooltips.text.experiment.move')
|
||||||
} %></li>
|
} %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if can_manage_experiment?(experiment) %>
|
<% if can_archive_experiment?(experiment) %>
|
||||||
<li><%= link_to t('experiments.archive.label_title'),
|
<li><%= link_to t('experiments.archive.label_title'),
|
||||||
archive_experiment_url(experiment),
|
archive_experiment_url(experiment),
|
||||||
type: 'button',
|
type: 'button',
|
||||||
|
|
Loading…
Reference in a new issue