projects.html.haml 521 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
!!! 5
2
%html{ lang: "en"}
3
  = render "layouts/head", title: @project.name_with_namespace
4
  %body{class: "#{app_theme} project", :'data-page' => body_data_page, :'data-project-id' => @project.id }
5
    = render "layouts/head_panel", title: project_title(@project)
6
    = render "layouts/init_auto_complete"
7
    = render "layouts/flash"
8 9
    - if can?(current_user, :download_code, @project)
      = render 'shared/no_ssh'
10

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
11 12
    %nav.main-nav
      .container= render 'layouts/nav/project'
13

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
14
    .container
15
      .content= yield