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

15 lines
504 B
Text
Raw Normal View History

.page-with-sidebar{ class: page_with_sidebar_class }
2017-09-06 06:58:24 -04:00
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
.content-wrapper.page-with-new-nav
.mobile-overlay
.alert-wrapper
= render "layouts/broadcast"
= yield :flash_message
2017-09-06 06:58:24 -04:00
- unless @hide_breadcrumbs
= render "layouts/nav/breadcrumbs"
= render "layouts/flash"
2016-07-22 05:59:26 -04:00
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
2016-11-17 09:12:20 -05:00
.content{ id: "content-body" }
2016-07-22 05:59:26 -04:00
= yield