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

15 lines
498 B
Text
Raw Normal View History

- page_title @project.name_with_namespace
- page_description @project.description unless page_description
- header_title project_title(@project) unless header_title
2018-03-17 18:26:18 +05:30
- nav "project"
- @left_sidebar = true
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
- content_for :project_javascripts do
2015-10-24 18:46:33 +05:30
- project = @target_project || @project
2015-09-11 14:41:01 +05:30
- if current_user
2017-09-10 17:25:29 +05:30
-# haml-lint:disable InlineJavaScript
2015-09-11 14:41:01 +05:30
:javascript
2017-09-10 17:25:29 +05:30
window.uploads_path = "#{project_uploads_path(project)}";
2015-09-11 14:41:01 +05:30
= render template: "layouts/application"