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

18 lines
566 B
Plaintext
Raw Normal View History

- 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"
2015-04-30 17:06:18 +00:00
- content_for :project_javascripts do
- project = @target_project || @project
- if current_user
2017-08-01 08:50:59 +00:00
-# haml-lint:disable InlineJavaScript
:javascript
window.uploads_path = "#{project_uploads_path(project)}";
= render template: "layouts/application"