BigW Consortium Gitlab

_page.html.haml 842 Bytes
Newer Older
1
.page-with-sidebar{ class: page_with_sidebar_class }
2 3 4 5 6 7 8 9 10 11
  - if show_new_nav?
    - if defined?(nav) && nav
      = render "layouts/nav/#{nav}"
  - else
    - if defined?(nav) && nav
      .layout-nav
        .container-fluid
          = render "layouts/nav/#{nav}"
    - if content_for?(:sub_nav)
      = yield :sub_nav
12
  .content-wrapper{ class: layout_nav_class }
13 14
    - if show_new_nav?
      .mobile-overlay
15 16
    .alert-wrapper
      = render "layouts/broadcast"
17 18 19
      - if show_new_nav?
        - if content_for?(:new_global_flash)
          = yield :new_global_flash
20 21
        - unless @hide_breadcrumbs
          = render "layouts/nav/breadcrumbs"
22 23
      = render "layouts/flash"
      = yield :flash_message
Phil Hughes committed
24
    %div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
25
      .content{ id: "content-body" }
Phil Hughes committed
26
        = yield