BigW Consortium Gitlab

project.html.haml 614 Bytes
Newer Older
1
- page_title    @project.name_with_namespace
2 3
- header_title  project_title(@project) unless header_title
- sidebar       "project"               unless sidebar
4

5
- content_for :scripts_body_top do
6
  - project = @target_project || @project
7
  - if current_user
8
    :javascript
9 10
      window.project_uploads_path = "#{namespace_project_uploads_path project.namespace,project}";
      window.markdown_preview_path = "#{markdown_preview_namespace_project_path(project.namespace, project)}";
11 12

- content_for :scripts_body do
13 14 15
  = render "layouts/init_auto_complete" if current_user

= render template: "layouts/application"