debian-mirror-gitlab/app/views/layouts/project.html.haml

26 lines
827 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
2017-09-10 17:25:29 +05:30
- if show_new_nav?
- nav "new_project_sidebar"
- @new_sidebar = true
- else
- nav "project"
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
- content_for :project_javascripts do
2015-10-24 18:46:33 +05:30
- project = @target_project || @project
2015-09-11 14:41:01 +05:30
- if current_user
2017-09-10 17:25:29 +05:30
-# haml-lint:disable InlineJavaScript
2015-09-11 14:41:01 +05:30
:javascript
2017-09-10 17:25:29 +05:30
window.uploads_path = "#{project_uploads_path(project)}";
2015-09-11 14:41:01 +05:30
2016-06-02 11:05:42 +05:30
- content_for :header_content do
.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
2015-09-11 14:41:01 +05:30
= render template: "layouts/application"