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 }
|
|
|
|
.content-wrapper.prepend-top-0
|
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?
|
|
|
|
%span.logo-text.prepend-left-8
|
|
|
|
= 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
|
|
|
|
= image_tag avatar_icon_for_user(current_user, 23), width: 23, height: 23, class: "header-user-avatar qa-user-avatar"
|
|
|
|
= 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
|