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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/project.html.haml')
-rw-r--r--app/views/layouts/project.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml
new file mode 100644
index 00000000000..62a6f5ddf4d
--- /dev/null
+++ b/app/views/layouts/project.html.haml
@@ -0,0 +1,14 @@
+- page_title @project.name_with_namespace
+!!! 5
+%html{ lang: "en"}
+ = render "layouts/head"
+ %body{class: "#{app_theme} project", :'data-page' => body_data_page, :'data-project-id' => @project.id }
+ - title = project_title(@project)
+
+ - if current_user
+ = render "layouts/head_panel", title: project_title(@project)
+ = render "layouts/init_auto_complete"
+ - else
+ = render "layouts/public_head_panel", title: project_title(@project)
+
+ = render 'layouts/page', sidebar: @sidebar || 'project'