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

21 lines
718 B
Text
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
- nav "project"
2015-04-30 13:06:18 -04:00
- content_for :project_javascripts do
- project = @target_project || @project
- if current_user
:javascript
window.uploads_path = "#{namespace_project_uploads_path project.namespace,project}";
- 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
= render template: "layouts/application"