summaryrefslogtreecommitdiff
path: root/app/views/layouts/project.html.haml
blob: 62a6f5ddf4dcc8c44ad110aef73ea72dce993c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- page_title @project.name_with_namespace
!!! 5
%html{ lang: "en"}
  = render "layouts/head"
  %body{class: "#{app_theme}  project", :'data-page' => body_data_page, :'data-project-id' => @project.id }
    - title = project_title(@project)

    - if current_user
      = render "layouts/head_panel", title: project_title(@project)
      = render "layouts/init_auto_complete"
    - else
      = render "layouts/public_head_panel", title: project_title(@project)
      
    = render 'layouts/page', sidebar: @sidebar || 'project'