Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78dafcd8bfaff4e41e61f622c8bc55f653003596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- page_title    @project.name_with_namespace
- header_title  project_title(@project) unless header_title
- sidebar       "project"               unless sidebar

- content_for :scripts_body_top do
  - if current_user
    :javascript
      window.project_uploads_path = "#{namespace_project_uploads_path @project.namespace, @project}";
      window.markdown_preview_path = "#{markdown_preview_namespace_project_path(@project.namespace, @project)}";

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

= render template: "layouts/application"