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
|
2016-05-16 13:21:12 -04:00
|
|
|
- nav "project"
|
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
|
2015-06-02 08:56:50 -04:00
|
|
|
:javascript
|
2017-05-01 09:14:35 -04:00
|
|
|
window.uploads_path = "#{namespace_project_uploads_path project.namespace,project}";
|
2015-06-02 08:56:50 -04:00
|
|
|
|
2016-03-22 07:33:38 -04:00
|
|
|
- content_for :header_content do
|
2016-04-04 05:44:51 -04:00
|
|
|
.js-dropdown-menu-projects
|
|
|
|
.dropdown-menu.dropdown-select.dropdown-menu-projects
|
|
|
|
= dropdown_title("Go to a project")
|
|
|
|
= dropdown_filter("Search your projects")
|
|
|
|
= dropdown_content
|
|
|
|
= dropdown_loading
|
2016-03-22 07:33:38 -04:00
|
|
|
|
2015-05-01 04:39:11 -04:00
|
|
|
= render template: "layouts/application"
|