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/projects.html.haml')
-rw-r--r--app/views/layouts/projects.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/layouts/projects.html.haml b/app/views/layouts/projects.html.haml
new file mode 100644
index 00000000000..6d8bf9b710b
--- /dev/null
+++ b/app/views/layouts/projects.html.haml
@@ -0,0 +1,15 @@
+!!! 5
+%html{ lang: "en"}
+ = render "layouts/head", title: @project.name_with_namespace
+ %body{class: "#{app_theme} project", :'data-page' => body_data_page, :'data-project-id' => @project.id }
+ = render "layouts/head_panel", title: project_title(@project)
+ = render "layouts/init_auto_complete"
+ = render "layouts/flash"
+ - if can?(current_user, :download_code, @project)
+ = render 'shared/no_ssh'
+
+ %nav.main-nav
+ .container= render 'layouts/nav/project'
+
+ .container
+ .content= yield