mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 07:26:15 +08:00
hide experiment actions dropdown when the user can't manage the experiment (SCI-5790)
This commit is contained in:
parent
7128987418
commit
9f3195aa76
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue