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

16 lines
614 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title @project.name_with_namespace
2015-09-25 12:07:36 +05:30
- header_title project_title(@project) unless header_title
- sidebar "project" unless sidebar
2015-09-11 14:41:01 +05:30
- content_for :scripts_body_top do
2015-10-24 18:46:33 +05:30
- project = @target_project || @project
2015-09-11 14:41:01 +05:30
- if current_user
:javascript
2015-10-24 18:46:33 +05:30
window.project_uploads_path = "#{namespace_project_uploads_path project.namespace,project}";
window.markdown_preview_path = "#{markdown_preview_namespace_project_path(project.namespace, project)}";
2015-09-11 14:41:01 +05:30
- content_for :scripts_body do
= render "layouts/init_auto_complete" if current_user
= render template: "layouts/application"