gitlab-org--gitlab-foss/app/views/layouts/_page.html.haml

24 lines
539 B
Text
Raw Normal View History

- if defined?(sidebar)
2015-02-03 16:11:33 -05:00
.page-with-sidebar{ class: nav_sidebar_class }
= render "layouts/broadcast"
.sidebar-wrapper
= render(sidebar)
.collapse-nav
2015-02-03 16:11:33 -05:00
= render partial: 'layouts/collapse_button'
.content-wrapper
.container-fluid
.content
= render "layouts/flash"
.clearfix
= yield
- else
.container.navless-container
.content
= yield
= yield :embedded_scripts
2015-02-13 16:36:59 -05:00
:coffeescript
$('.page-sidebar-collapsed .nav-sidebar a').tooltip placement: "right"