From 4feb9088506d7fa924ba485a46e55a23847f05bc Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Thu, 23 Mar 2017 16:09:20 -0600 Subject: [PATCH] Add sidebar class to build & wiki pages --- app/views/projects/builds/_sidebar.html.haml | 3 +++ app/views/projects/wikis/_sidebar.html.haml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml index 78720d88e4e..4192013eab5 100644 --- a/app/views/projects/builds/_sidebar.html.haml +++ b/app/views/projects/builds/_sidebar.html.haml @@ -137,3 +137,6 @@ = build.id - if build.retried? %i.fa.fa-refresh.has-tooltip{ data: { container: 'body', placement: 'bottom' }, title: 'Job was retried' } + +:javascript + new Sidebar(); diff --git a/app/views/projects/wikis/_sidebar.html.haml b/app/views/projects/wikis/_sidebar.html.haml index 8c582f747b3..cfacb9e7b66 100644 --- a/app/views/projects/wikis/_sidebar.html.haml +++ b/app/views/projects/wikis/_sidebar.html.haml @@ -19,3 +19,6 @@ More Pages = render 'projects/wikis/new' + +:javascript + new Sidebar();