debian-mirror-gitlab/app/views/layouts/project.html.haml
2020-10-24 23:57:45 +05:30

16 lines
550 B
Text

- page_title @project.full_name
- page_description @project.description unless page_description
- header_title project_title(@project) unless header_title
- nav "project"
- display_subscription_banner!
- display_namespace_storage_limit_alert!
- @left_sidebar = true
- content_for :project_javascripts do
- project = @target_project || @project
- if current_user
= javascript_tag nonce: true do
:plain
window.uploads_path = "#{project_uploads_path(project)}";
= render template: "layouts/application"