From f91874694671f2ddc27afd1b8e6f8954b1ae0733 Mon Sep 17 00:00:00 2001 From: zmagod Date: Tue, 23 Aug 2016 09:26:52 +0200 Subject: [PATCH] hide the dropdown if user has no permissions(technician) [fixes SCI-371] --- app/views/projects/show/_experiment.html.erb | 30 ++++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/app/views/projects/show/_experiment.html.erb b/app/views/projects/show/_experiment.html.erb index b26aa4e72..e4f405b08 100644 --- a/app/views/projects/show/_experiment.html.erb +++ b/app/views/projects/show/_experiment.html.erb @@ -2,21 +2,21 @@
- - - + <% if is_user_or_higher_of_project @project %> + + <% end %>

<%= link_to experiment.name, canvas_experiment_path(experiment) %>