2018-04-26 07:28:24 -04:00
|
|
|
!!! 5
|
2021-10-26 08:12:11 -04:00
|
|
|
- add_page_specific_style 'page_bundles/terms'
|
2018-04-26 07:28:24 -04:00
|
|
|
- @hide_breadcrumbs = true
|
2022-04-27 11:10:01 -04:00
|
|
|
- body_classes = [user_application_theme]
|
2018-04-26 07:28:24 -04:00
|
|
|
%html{ lang: I18n.locale, class: page_class }
|
|
|
|
= render "layouts/head"
|
|
|
|
|
2022-04-27 11:10:01 -04:00
|
|
|
%body{ class: body_classes, data: { page: body_data_page } }
|
2018-04-27 10:50:33 -04:00
|
|
|
.layout-page.terms{ class: page_class }
|
2021-10-26 08:12:11 -04:00
|
|
|
.content-wrapper.gl-pb-5
|
2018-04-27 08:56:50 -04:00
|
|
|
.mobile-overlay
|
|
|
|
.alert-wrapper
|
|
|
|
= render "layouts/broadcast"
|
|
|
|
= render 'layouts/header/read_only_banner'
|
2021-10-26 08:12:11 -04:00
|
|
|
= render "layouts/flash"
|
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" }
|
2022-06-07 08:08:05 -04:00
|
|
|
= render Pajamas::CardComponent.new do |c|
|
|
|
|
= c.header do
|
2022-04-27 11:10:01 -04:00
|
|
|
= brand_header_logo({add_gitlab_black_text: true})
|
2022-06-07 08:08:05 -04:00
|
|
|
= c.body do
|
|
|
|
- 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
|
2022-10-17 14:09:13 -04:00
|
|
|
= render Pajamas::AvatarComponent.new(current_user, size: 24, class: 'gl-mr-3', avatar_options: { data: { qa_selector: 'user_avatar_content' } })
|
2022-06-09 20:08:32 -04:00
|
|
|
= sprite_icon('chevron-down')
|
2022-06-07 08:08:05 -04:00
|
|
|
.dropdown-menu.dropdown-menu-right
|
|
|
|
= render 'layouts/header/current_user_dropdown'
|
|
|
|
= yield
|