summaryrefslogtreecommitdiff
path: root/app/views/layouts/project.html.haml
blob: d6db85ee87a1427530ac5b746594120a494d16f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- page_title       @project.name_with_namespace
- page_description @project.description    unless page_description
- header_title     project_title(@project) unless header_title
- if show_new_nav?
  - nav            "new_project_sidebar"
  - @new_sidebar    = true
- else
  - nav            "project"

- content_for :project_javascripts do
  - project = @target_project || @project
  - if current_user
    -# haml-lint:disable InlineJavaScript
    :javascript
      window.uploads_path = "#{project_uploads_path(project)}";

= render template: "layouts/application"