hide experiment actions dropdown when the user can't manage the experiment (SCI-5790)

This commit is contained in:
zmagoD 2021-06-12 11:15:44 +02:00
parent 7128987418
commit 9f3195aa76

View file

@ -26,7 +26,9 @@
<% end %>
</div>
<div class="actions actions-cell table-cell">
<%= render partial: 'projects/show/experiment_actions_dropdown.html.erb', locals: { experiment: experiment, project: project } %>
<% if can_manage_experiment?(experiment) %>
<%= render partial: 'projects/show/experiment_actions_dropdown.html.erb', locals: { experiment: experiment, project: project } %>
<% end %>
</div>
<div class="dates-and-img-container">
<div class="dates-container">