diff --git a/app/assets/stylesheets/partials/_sidebar.scss b/app/assets/stylesheets/partials/_sidebar.scss index 202e9a2d7..716525173 100644 --- a/app/assets/stylesheets/partials/_sidebar.scss +++ b/app/assets/stylesheets/partials/_sidebar.scss @@ -133,6 +133,14 @@ $toggle-btn-size: 50px; } } +.my-module-group-element::before { + border-left: 1px dotted $color-emperor; + bottom: 20px; + content: ""; + position: absolute; + top: 25px; +} + #wrapper { @include sidebar-shown; } diff --git a/app/assets/stylesheets/partials/_tree_view.scss b/app/assets/stylesheets/partials/_tree_view.scss index 6748248b1..0b9a4c392 100644 --- a/app/assets/stylesheets/partials/_tree_view.scss +++ b/app/assets/stylesheets/partials/_tree_view.scss @@ -30,7 +30,7 @@ } &.leaf { - padding-left: 30px; + padding-left: 10px; .tree-link::before { content: "\25B8"; } diff --git a/app/views/shared/_sidebar.html.erb b/app/views/shared/_sidebar.html.erb index 50443ec0b..21d52d34d 100644 --- a/app/views/shared/_sidebar.html.erb +++ b/app/views/shared/_sidebar.html.erb @@ -13,19 +13,23 @@
+ <% 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 bdea4c25c..17283b1bf 100644 --- a/app/views/shared/sidebar/_experiments.html.erb +++ b/app/views/shared/sidebar/_experiments.html.erb @@ -1,17 +1,31 @@ diff --git a/app/views/shared/sidebar/_my_modules.html.erb b/app/views/shared/sidebar/_my_modules.html.erb index c5abf3112..9ffe999e5 100644 --- a/app/views/shared/sidebar/_my_modules.html.erb +++ b/app/views/shared/sidebar/_my_modules.html.erb @@ -2,35 +2,28 @@