2018-04-26 07:28:24 -04:00
|
|
|
!!! 5
|
|
|
|
- @hide_breadcrumbs = true
|
|
|
|
%html{ lang: I18n.locale, class: page_class }
|
|
|
|
= render "layouts/head"
|
|
|
|
|
2018-04-27 08:56:50 -04:00
|
|
|
%body{ data: { page: body_data_page } }
|
2018-04-27 10:50:33 -04:00
|
|
|
.layout-page.terms{ class: page_class }
|
2021-06-07 08:10:00 -04:00
|
|
|
.content-wrapper
|
2018-04-27 08:56:50 -04:00
|
|
|
.mobile-overlay
|
|
|
|
.alert-wrapper
|
|
|
|
= render "layouts/broadcast"
|
|
|
|
= render 'layouts/header/read_only_banner'
|
2018-04-27 10:50:33 -04:00
|
|
|
= render "layouts/flash", extra_flash_class: 'limit-container-width'
|
2018-04-27 08:56:50 -04:00
|
|
|
|
2018-04-27 10:50:33 -04:00
|
|
|
%div{ class: "#{container_class} limit-container-width" }
|
2018-04-26 07:28:24 -04:00
|
|
|
.content{ id: "content-body" }
|
2018-06-04 11:02:49 -04:00
|
|
|
.card
|
|
|
|
.card-header
|
2018-06-01 20:40:09 -04:00
|
|
|
= brand_header_logo
|
|
|
|
- logo_text = brand_header_logo_type
|
|
|
|
- if logo_text.present?
|
2020-05-28 08:08:10 -04:00
|
|
|
%span.logo-text.gl-ml-3
|
2018-06-01 20:40:09 -04:00
|
|
|
= logo_text
|
|
|
|
- if header_link?(:user_dropdown)
|
|
|
|
.navbar-collapse
|
|
|
|
%ul.nav.navbar-nav
|
|
|
|
%li.header-user.dropdown
|
|
|
|
= link_to current_user, class: user_dropdown_class, data: { toggle: "dropdown" } do
|
2020-04-09 05:10:17 -04:00
|
|
|
= image_tag avatar_icon_for_user(current_user, 23), width: 23, height: 23, class: "header-user-avatar", data: { qa_selector: 'user_avatar' }
|
2018-06-01 20:40:09 -04:00
|
|
|
= sprite_icon('angle-down', css_class: 'caret-down')
|
|
|
|
.dropdown-menu.dropdown-menu-right
|
|
|
|
= render 'layouts/header/current_user_dropdown'
|
2018-04-26 07:28:24 -04:00
|
|
|
= yield
|