2016-01-05 14:54:59 -05:00
|
|
|
- page_title @project.name_with_namespace
|
2016-01-06 07:02:51 -05:00
|
|
|
- page_description @project.description unless page_description
|
2016-01-05 14:54:59 -05:00
|
|
|
- header_title project_title(@project) unless header_title
|
2017-09-06 06:58:24 -04:00
|
|
|
- nav "project"
|
|
|
|
- @left_sidebar = true
|
2015-04-30 13:06:18 -04:00
|
|
|
|
2017-02-02 14:06:43 -05:00
|
|
|
- content_for :project_javascripts do
|
2015-09-17 10:50:20 -04:00
|
|
|
- project = @target_project || @project
|
2015-06-09 06:01:18 -04:00
|
|
|
- if current_user
|
2017-08-01 04:50:59 -04:00
|
|
|
-# haml-lint:disable InlineJavaScript
|
2015-06-02 08:56:50 -04:00
|
|
|
:javascript
|
2017-06-29 13:06:35 -04:00
|
|
|
window.uploads_path = "#{project_uploads_path(project)}";
|
2015-06-02 08:56:50 -04:00
|
|
|
|
2015-05-01 04:39:11 -04:00
|
|
|
= render template: "layouts/application"
|