From e60533af572ca5516dbaf6156fd9b29b9e3b0289 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Wed, 24 Aug 2016 10:47:30 +0200 Subject: [PATCH] Add whole tree structure for experiment SCI-353 #close --- app/views/shared/_sidebar.html.erb | 34 +++++++++++-------- .../shared/sidebar/_experiments.html.erb | 20 +++++------ 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/app/views/shared/_sidebar.html.erb b/app/views/shared/_sidebar.html.erb index 9923c8896..649557a4f 100644 --- a/app/views/shared/_sidebar.html.erb +++ b/app/views/shared/_sidebar.html.erb @@ -13,23 +13,27 @@
- <% if !project_page? %> - <% else %> - <%= render partial: 'shared/sidebar/experiments', - locals: { project: @project } %> - <% end %>
<% end %> diff --git a/app/views/shared/sidebar/_experiments.html.erb b/app/views/shared/sidebar/_experiments.html.erb index a2cd2e46f..588f0ad8e 100644 --- a/app/views/shared/sidebar/_experiments.html.erb +++ b/app/views/shared/sidebar/_experiments.html.erb @@ -1,15 +1,15 @@