2017-12-08 16:19:01 -05:00
|
|
|
.layout-page{ class: page_with_sidebar_class }
|
2017-09-06 06:58:24 -04:00
|
|
|
- if defined?(nav) && nav
|
|
|
|
= render "layouts/nav/sidebar/#{nav}"
|
2018-02-03 03:03:36 -05:00
|
|
|
.content-wrapper{ class: "#{@content_wrapper_class}" }
|
2017-09-06 06:58:24 -04:00
|
|
|
.mobile-overlay
|
2020-09-03 23:08:22 -04:00
|
|
|
= yield :group_invite_members_banner
|
2020-11-10 04:08:45 -05:00
|
|
|
.alert-wrapper.gl-force-block-formatting-context
|
2020-03-10 14:08:17 -04:00
|
|
|
= render 'shared/outdated_browser'
|
2020-06-01 20:08:07 -04:00
|
|
|
= render_if_exists "layouts/header/licensed_user_count_threshold"
|
2020-07-06 23:09:32 -04:00
|
|
|
= render_if_exists "layouts/header/token_expiry_notification"
|
2016-12-16 15:30:28 -05:00
|
|
|
= render "layouts/broadcast"
|
2018-10-19 05:56:12 -04:00
|
|
|
= render "layouts/header/read_only_banner"
|
2020-11-16 04:09:18 -05:00
|
|
|
= render "layouts/header/registration_enabled_callout"
|
2019-04-09 11:38:58 -04:00
|
|
|
= render "layouts/nav/classification_level_banner"
|
2016-12-16 15:30:28 -05:00
|
|
|
= yield :flash_message
|
2018-09-07 10:32:28 -04:00
|
|
|
= render "shared/ping_consent"
|
2020-02-06 13:08:54 -05:00
|
|
|
= render_account_recovery_regular_check
|
2020-06-04 20:08:38 -04:00
|
|
|
= render_if_exists "layouts/header/ee_subscribable_banner"
|
2020-07-22 08:09:42 -04:00
|
|
|
= render_if_exists "shared/namespace_storage_limit_alert"
|
2020-11-19 10:09:13 -05:00
|
|
|
= render_if_exists "shared/new_user_signups_cap_reached_alert"
|
2020-08-18 17:09:57 -04:00
|
|
|
= yield :customize_homepage_banner
|
2017-09-06 06:58:24 -04:00
|
|
|
- unless @hide_breadcrumbs
|
|
|
|
= render "layouts/nav/breadcrumbs"
|
2016-07-22 05:59:26 -04:00
|
|
|
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
|
2021-02-01 13:09:17 -05:00
|
|
|
%main.content{ id: "content-body", **page_itemtype }
|
2019-09-03 05:03:35 -04:00
|
|
|
= render "layouts/flash", extra_flash_class: 'limit-container-width'
|
2021-02-03 10:09:24 -05:00
|
|
|
= yield :before_content
|
2016-07-22 05:59:26 -04:00
|
|
|
= yield
|