summaryrefslogtreecommitdiff
path: root/app/views/layouts/_page.html.haml
blob: f6fc49393d819db7024caea54a4a1a9cff83abe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.layout-page{ class: page_with_sidebar_class }
  - if defined?(nav) && nav
    = render "layouts/nav/sidebar/#{nav}"
  .content-wrapper{ class: "#{@content_wrapper_class}" }
    .mobile-overlay
    = yield :group_invite_members_banner
    .alert-wrapper.gl-force-block-formatting-context
      = render 'shared/outdated_browser'
      = render_if_exists "layouts/header/licensed_user_count_threshold"
      = render_if_exists "layouts/header/token_expiry_notification"
      = render "layouts/broadcast"
      = render "layouts/header/read_only_banner"
      = render "layouts/header/registration_enabled_callout"
      = render "layouts/nav/classification_level_banner"
      = yield :flash_message
      = render "shared/ping_consent"
      = render_account_recovery_regular_check
      = render_if_exists "layouts/header/ee_subscribable_banner"
      = render_if_exists "shared/namespace_storage_limit_alert"
      = yield :customize_homepage_banner
      - unless @hide_breadcrumbs
        = render "layouts/nav/breadcrumbs"
    %div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
      .content{ id: "content-body", **page_itemtype }
        = render "layouts/flash", extra_flash_class: 'limit-container-width'
        = yield