summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-13 14:27:36 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-13 14:27:36 +0100
commitb433efcf70dbafd5f76ce7140a4e6eb36008eee5 (patch)
treeb0d6340800c10f9e23925bdde31a72a20cbf7a61
parent777771db280d512a8eded5e170f1ea3a2356729f (diff)
downloadgitlab-ce-b433efcf70dbafd5f76ce7140a4e6eb36008eee5.tar.gz
Add suport for layout without container
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-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 ec7cd79bc54..26159989777 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -24,7 +24,7 @@
.content-wrapper
= render "layouts/flash"
= yield :flash_message
- %div{ class: container_class }
+ %div{ class: (container_class unless @no_container) }
.content
.clearfix
= yield