Merge pull request #1435 from mz3944/mz-SCI-2912

An error at archiving experiment with locked task [SCI-2912]
This commit is contained in:
mz3944 2019-01-24 05:27:58 +01:00 committed by GitHub
commit 79d35de794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',