Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2018-02-03 11:03:36 +0300
committerKushal Pandya <kushal@gitlab.com>2018-02-07 14:58:29 +0300
commit94b1d7edb777e17ef71c6bcecf21bdc50788876c (patch)
tree26dee488e24b7f5abf705d7cbd392ca48b5ad092 /app/views
parent4457cf9d178dc9912fd9c16427ad81b389179d00 (diff)
Add support for adding custom class on content wrapper element
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/_page.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index eba9cd253bb..f0963cf9da8 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -1,7 +1,7 @@
.layout-page{ class: page_with_sidebar_class }
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
- .content-wrapper
+ .content-wrapper{ class: "#{@content_wrapper_class}" }
= render 'shared/outdated_browser'
.mobile-overlay
.alert-wrapper