summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-03-24 10:47:43 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-03-24 10:47:43 +0000
commit7ac4127e4c69df86d309ac6e101c8e5acc263ab4 (patch)
tree74e5e5dd3933ff1a0928ed2422f0c12fa2e3ec50 /app/views/projects
parent2965a20a1f5136c315cdfac19736e25690f5fcf6 (diff)
parent4feb9088506d7fa924ba485a46e55a23847f05bc (diff)
downloadgitlab-ce-7ac4127e4c69df86d309ac6e101c8e5acc263ab4.tar.gz
Merge branch '29964-sidebar-js' into 'master'
Add sidebar class to build & wiki pages Closes #29964 See merge request !10196
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/builds/_sidebar.html.haml3
-rw-r--r--app/views/projects/wikis/_sidebar.html.haml3
2 files changed, 6 insertions, 0 deletions
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();