debian-mirror-gitlab/app/views/layouts/application.html.haml

14 lines
534 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
!!! 5
2016-09-13 17:45:13 +05:30
%html{ lang: "en", class: "#{page_class}" }
2015-09-11 14:41:01 +05:30
= render "layouts/head"
2016-06-22 15:30:34 +05:30
%body{class: "#{user_application_theme}", data: {page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}"}}
= Gon::Base.render_data
2015-09-11 14:41:01 +05:30
-# Ideally this would be inside the head, but turbolinks only evaluates page-specific JS in the body.
= yield :scripts_body_top
2016-06-02 11:05:42 +05:30
= render "layouts/header/default", title: header_title
= render 'layouts/page', sidebar: sidebar, nav: nav
2015-09-11 14:41:01 +05:30
= yield :scripts_body