summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.haml
blob: 7af190f5a0b8fa7b6a598c14cdcc2adb7eaac564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- page_classes = page_class << @html_class
- page_classes = page_classes.flatten.compact

!!! 5
%html{ lang: I18n.locale, class: page_classes }
  = render "layouts/head"
  %body{ class: "#{user_application_theme} #{@body_class} #{client_class_list}", data: body_data }
    = render "layouts/init_auto_complete" if @gfm_form
    = render "layouts/init_client_detection_flags"
    = render 'peek/bar'
    = header_message
    = render partial: "layouts/header/default", locals: { project: @project, group: @group }
    = render 'layouts/page', sidebar: sidebar, nav: nav
    = footer_message

    = render_if_exists "shared/onboarding_guide"

    = yield :scripts_body