gitlab-org--gitlab-foss/app/views/layouts/application.html.haml
Phil Hughes c5f25f6550 Top navigation redesign
Start of the new navigation by redesigning just the top navigation menu.
This is only shown when a cookie is set.

Part of #32794
2017-06-21 14:45:23 +01:00

13 lines
514 B
Text

!!! 5
%html{ lang: I18n.locale, class: "#{page_class}" }
= render "layouts/head"
%body{ class: @body_class, data: { page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}" } }
= render "layouts/init_auto_complete" if @gfm_form
= render 'peek/bar'
- if show_new_nav?
= render "layouts/header/new"
- else
= render "layouts/header/default", title: header_title
= render 'layouts/page', sidebar: sidebar, nav: nav
= yield :scripts_body