gitlab-org--gitlab-foss/app/views/layouts/application.html.haml

14 lines
536 B
Text
Raw Normal View History

2012-02-09 02:59:04 -05:00
!!! 5
%html{ lang: I18n.locale, class: page_class }
2015-04-30 13:06:18 -04:00
= render "layouts/head"
%body{ class: @body_class, data: { page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}", find_file: find_file_path } }
= 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