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? %>
- -
-
-
- <%= link_to @project.name,
- project_action_to_link_to(@project),
- title: @project.name %>
-
- <%= render partial: 'shared/sidebar/experiments',
- locals: { project: @project } %>
-
+ <% if project_page? %>
+ -
+
+
+ <%= @project.name %>
+
+
+ <% else %>
+ -
+
+
+ <%= link_to @project.name,
+ project_action_to_link_to(@project),
+ title: @project.name %>
+
+
+ <% end %>
+ <%= render partial: 'shared/sidebar/experiments',
+ locals: { project: @project } %>
- <% 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 @@
<% if project.active_experiments.present? then %>
- <% if experiment_page? %>
- -
-
-
- <%= @experiment.name %>
-
- <%= render partial: 'shared/sidebar/my_modules', locals: { experiment: @experiment } %>
-
- <% else %>
- <% project.active_experiments.each do |experiment| %>
+ <% project.active_experiments.each do |experiment| %>
+ <% if experiment_page? && experiment == @experiment %>
+ -
+
+
+ <%= @experiment.name %>
+
+ <%= render partial: 'shared/sidebar/my_modules', locals: { experiment: @experiment } %>
+
+ <% else %>
-