summaryrefslogtreecommitdiff
path: root/app/views/layouts/_page.html.haml
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-22 17:30:52 -0500
committerMike Greiling <mike@pixelcog.com>2017-03-22 17:30:52 -0500
commit25d779a321e1859e89c00a27e1f025c6f77ea2e4 (patch)
tree75245b3c320aa7e8fc950ed030e0ecb9c9a1977b /app/views/layouts/_page.html.haml
parent3f8dbf300d8111044ca621609af6c5e5d89aede1 (diff)
downloadgitlab-ce-25d779a321e1859e89c00a27e1f025c6f77ea2e4.tar.gz
remove jobs page hack to make subnav 100% width
Diffstat (limited to 'app/views/layouts/_page.html.haml')
-rw-r--r--app/views/layouts/_page.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index cbb15d4e576..b7df11681d3 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -3,8 +3,9 @@
.layout-nav
.container-fluid
= render "layouts/nav/#{nav}"
- .content-wrapper{ class: layout_nav_class }
+ - if content_for?(:sub_nav)
= yield :sub_nav
+ .content-wrapper{ class: layout_nav_class }
.alert-wrapper
= render "layouts/broadcast"
= render "layouts/flash"